[R] text in qqmath

Deepayan Sarkar deepayansarkar at yahoo.com
Fri Nov 30 00:39:28 CET 2001



try replacing text and points by ltext and lpoints
respectively. R base graphics functions don't work
under grid. See help(ltext) for a list of implemented
replacements.

--- "Dennis L. Malandro" <nawlnz at yahoo.com> wrote:
> Hello,
> 
> I can't seem to make qqmath plot text.
> 
> v <- rnorm(8)
> qqmath(~v)  # this is ok, but
> 
> qqmath(~v, panel=function(x, y) {
>  points(x, y)
>  text(0, 0, 'print me', cex=2)})
> 
>  isn't ok.
> 
> The axis frame is printed properly (ie, as in
> qqmath(~v)), but neither 'print me' nor the points
> show up on the graph.  I can, however, see the upper
> half of the word 'me' in the lower left corner of
> the
> graphics device.  So somehow things are being
> translated down and to the left; well 'print me' is
> anyway, but I don't see any points anywhere.
> 
> Could someone please lend me a helpin hand?
> 
> (R 1.3.1, Windows 95)
> 
> Thanks a lot,
> Dennis
> 
> __________________________________________________
> 
> 
> 
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

__________________________________________________



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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