[R] Problem with text() and pdf()
alobo at paleo.ija.csic.es
Mon Jul 22 17:25:19 CEST 2002
I run a function in which I fit a linear
model, split the graphic window with
layout, plot the data and the linear fit to the left,
and the equation to the right using text() in this
way (probably there's a better way):
text(0.25,0.5, paste("y = ",round(a$coefficients,3),"+"
,round(a$coefficients,3), "* x" ),cex=1)
I have no problems using x11() and postscript()
(R.1.5.1 for linux). But
if I use a pdf display the text from the text() function does not
appear (although the plot is correct).
Does anyone know what the problem is?
I've not found any clue in help(pdf) and I've
tried a couple of pdf visors.
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help