Re: [R] Using metric units in plots

2008-06-25 Thread Patrick Connolly
On Fri, 20-Jun-2008 at 01:08PM +0100, Gavin Simpson wrote: |> But it is not too difficult to do this yourself: |> |> in2cm <- function(x) return(x * 2.54) |> |> cm2in <- function(x) return(x * 0.3937008) |> |> then use in2cm() or cm2in() depending on what you want to achieve. If |> you want a

Re: [R] Using metric units in plots

2008-06-20 Thread Peter Dalgaard
> And if you think inches are bad, check out "points". > Not to mention "pints" Cheers, -p -- O__ Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+

Re: [R] Using metric units in plots

2008-06-20 Thread Jim Lemon
On Fri, 2008-06-20 at 11:26 +0100, Prof Brian Ripley wrote: > ... > 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. > My recollection of the

Re: [R] Using metric units in plots

2008-06-20 Thread Gavin Simpson
On Fri, 2008-06-20 at 09:09 -0200, Alberto Monteiro wrote: > Philip Rhoades wrote: > > > > 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? > > > That's one of my complains, but it seems

Re: [R] Using metric units in plots

2008-06-20 Thread Alberto Monteiro
Philip Rhoades wrote: > > 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? > That's one of my complains, but it seems that this will take time. I don't believe it would be too hard to impleme

Re: [R] Using metric units in plots

2008-06-20 Thread Duncan Murdoch
On 20/06/2008 6:41 AM, Philip Rhoades wrote: 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

Re: [R] Using metric units in plots

2008-06-20 Thread Philip Rhoades
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 th

Re: [R] Using metric units in plots

2008-06-20 Thread Prof Brian Ripley
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. In base graphics there are a very few par()s that use inches (and

[R] Using metric units in plots

2008-06-20 Thread Philip Rhoades
People, It appears that one has to use Imperial measurements in plot parameters? I can't find any info on using metric units . . Thanks, Phil. -- Philip Rhoades Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275) GPO Box 3411 Sydney NSW 2001 Australia E-mail: [EMAIL PROTECTED]