Skip to content

illustration of graphics terms in R?

3 messages · Tom Arnold, Peter Dalgaard, Brian Ripley

#
Hello,
I'm using R to do survey analysis and plotting. I've gotten good help on this
list to sort out specific plotting issues, but I think I could do a lot more
on my own if I could find a good reference that explained some of the graphics
terms and concepts used by R. I haven't found a general discussion of the
graphics environment, with illustrations. Part of my problem is that the help
text is all text. There are no figures to illustrate the terms used.  For
example, I would like to be able to *see* the relationship of these concepts
illustrated:

figure region
device region
plot region
user coordinates
normalized device coordinates
margin
outer margin

Also, there are a number of par settings that apparently work on the same
underlying data but using different units. For example, oma, omi, omd; mai and
mar. The documentation for "mar" says: "A numerical vector of the form
'c(bottom, left, top, right)' which gives the lines of margin to be specified
on the four sides of the plot..." After some experimentation I found that csi
* mar = mai, so I guess mar is "lines of text" of size "csi". But all this
could be much better illustrated if it were... illustrated.

If there is no such introduction with diagrams to show the relation of the
different par values, I suppose I could start to create one, but could
certainly use help, if only in editing, from someone who actually *knows* how
this stuff works.

Thanks for whatever guidance you may be able to offer.
-Tom

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
"Tom Arnold" <tarnold at smpllc.com> writes:
Well, you might look at the pages around p.75 in "An introduction to
R" which ships with the sources (builds as R-intro.pdf).
#
There are figures in the PDF/DVI versions of `An Introduction to R' and in
Venables & Ripley (any edition of MASS).

If you missed `An Introduction to R' you really should look at it.

I don't think end users even need to know about `normalized device
coordinates'.

I am not entirely sure why the HTML version of `An Introduction to R'
lacks the figures: probably limitations of makeinfo.
On Sun, 24 Nov 2002, Tom Arnold wrote: