[R] Plot in real unit (1:1)
drj|m|emon @end|ng |rom gm@||@com
Thu Jun 7 00:16:36 CEST 2018
When I have to do something like this, I usually write it in
Postscript using this:
/def mm 2.8346 mul
that converts a dimension in mm to points (1/72 inch). However, this
won't work in R. It may be possible to set up the device like this:
# generate a blank plot
# display lines, etc. in mm with 0,0 at the bottom left
The resulting file should be printable. Warning, I don't have time to
test this right now.
On Thu, Jun 7, 2018 at 12:00 AM, Christian Brandstätter
<bran.chri using gmail.com> wrote:
> Dear List,
> Is it possible to plot in R in "real" units? I would like to draw a
> plot on A4 paper, where 1 plot unit would be a mm in reality. Is
> something like that possible? I would also like to be able to scale the
> plot in x and y direction.
> Background: For a project I would have to draw around 65 fast sketches
> of elevation courves.
> Copied from here, due to no answer: https://stackoverflow.com/questions
> Thank you!
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help