[R] grid graphics and par settings

Deepayan Sarkar deepayansarkar at yahoo.com
Fri Oct 11 19:57:03 CEST 2002


--- Patrick Connolly <p.connolly at hortresearch.co.nz> wrote:
> I see that adj is not a graphical parameter that can be used in a key
> list to use with lattice functions.
> 
> Is that because it's not yet implemented in gpar?  If so, it could
> also explain why it's not available in grid.text.

adj is not exactly a graphical parameter, it's more a property of text.
grid.text has an argument called 'just' which serves the same purpose.

The fact that adj doesn't work in key is due to my laziness, I just didn't get
around to implementing it. I have fixed it in the development version now.

> Is there a work around?  Centering looks silly on my plot.

You could try out the development version at

http://www.stat.wisc.edu/~deepayan/R/lattice_0.6-4.tar.gz

The documentation needs updates, but otherwise, it should be useable. Note that
only ajd = 0, .5 and 1 will give sensible text justification in key.

Deepayan



__________________________________________________

Faith Hill - Exclusive Performances, Videos & More

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