Re: [R] Using metric units in plots

From: Philip Rhoades <>
Date: Fri, 20 Jun 2008 20:41:15 +1000

Prof Brian Ripley,

Prof Brian Ripley wrote:
> On Fri, 20 Jun 2008, Philip Rhoades wrote:

>> People,
>> It appears that one has to use Imperial measurements in plot 
>> parameters?  I can't find any info on using metric units . .

> In package grid you can use several different units.

When I search the R site for "grid" I get:

"Package ‘grid’ was removed from the CRAN repository"

> In base graphics there are a very few par()s that use inches (and I am
> pretty sure that comes from the US unit as used in S, not the 'Imperial'
> one -- see e.g. Wikipedia). But those are rarely used.

This is a bit confusing - as far as I can see, ALL the pars use inches? I understand the US effect but shouldn't Metric units be supported directly?

> Also most graphics devices are dimensioned in inches with resolutions in
> dpi.
> Function cm() might help you.



Philip Rhoades

Pricom Pty Limited  (ACN 003 252 275  ABN 91 003 252 275)
GPO Box 3411
Sydney NSW	2001

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 20 Jun 2008 - 10:47:00 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 20 Jun 2008 - 14:30:57 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive