Message-ID: <3918020B.288E3FEC@ozemail.com.au>
Date: 2000-05-09T12:18:20Z
From: Jim Lemon
Subject: pch=15 symbol of size=10 mm
Denis White wrote:
> How do I determine cex in
>
> points (x, y, pch=15, cex=?)
>
> to get a square whose side length is, say, 10 mm?
>
> thanks
The easy way would be:
points(6,3,pch=15,cex=10/(par("cin")[1]*25.4))
That is, divide your desired width by the current width in inches multiplied by
25.4,
but this won't _really_ give you a 10 mm square. The hardcopy output you get
depends upon the size of the image you generate (e.g. the "bounding box" in
Postscript). However, you could fudge it if you always use the same size
output...
Jim
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._