On Mar 4, 2011, at 10:12 AM, David Winsemius wrote:


On Mar 4, 2011, at 8:31 AM, Alexx Hardt wrote:

Hey,
I'm trying to create an image file with the results of a regression analysis. In TeX, the line would be something like:
$ size = 0.34 + 4.3 var_1 $

Can I create a plot window with just this line in it? I tried playing around with plot.new() or dev.new(), but didn't really find something that worked.

plot(NULL, xlim=c(0,1), ylim=c(0,1), ylab="")
abline(0.34, 4.3)

After looking at the subject line I suspect I may have msinterpreted you hopes. Here is a different interpretation of what you requested:

 plot(0,0, type="n", frame.plot=F, axes=F, ylab="", xlab='')
 text(0,0, "size = 0.34 + 4.3 var_1")

--
David Winsemius, MD
Heritage Laboratories
West Hartford, CT

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to