[R] height of y-axis (in inches or cm)

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Feb 11 16:01:31 CET 2009



Jörg Groß wrote:
> Hi,
> 
> Is there a way to define the height of an y-axis not only by defining 
> the tick-marks
> but by defining a height in inches or cm?
> 
> So that the absolute axis height is the same over different plots...

Although this is not possible for base graphics (it is for grid 
graphics, though), you may want to use the same graphics dimensions 
(i.e. use fixed ones for your output device) and the same margin 
dimensions in order to get the same absolute length of the axis.

Uwe Ligges





> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> 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 mailing list