[R] using text() to write into left margin
Terry J. Westley
twestley at buffalo.veridian.com
Mon May 10 23:04:58 CEST 1999
On Fri, 7 May 1999, Terry Westley reported failure of
text() to write text to the left of the left axis in
Solaris while it worked OK in Win95.
Ross Ihaka responded:
> This is due differences in clipping strategies. If possible, graphics
> primitives are supposed to clip their items to the plot window, but
> hardware (and sofware) differs in its ability to do this. If you want to
> turn the clipping off use the "xpd = TRUE" option.
>
> > plot(0:10,0:10,pch="+")
> > text(c(1,0.5,0,-0.5,-1),1,"O", xpd = TRUE)
Adding the xpd option to text() works great. Thanks.
--
Terry J. Westley, Principal Engineer
Veridian Engineering, Calspan Operations
twestley at buffalo.veridian.com http://www.veridian.com/
-------------------------------------------------------
Author of TASH, an Ada binding to Tcl/Tk.
Visit the TASH web site at http://tash.calspan.com.
-------------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
mailing list