Adrian,
> -----Message d'origine-----
> De : r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch]De la part de Adrian DUSA
> Envoye : vendredi 9 septembre 2005 09:54
>
> Dear R-list,
>
> Could anybody tell me where to find information about
> changing the measurement
> unit from inch to centimeters?
> I read the help from X11, I read R-intro and I did some
> searhing in the R
> archives, but I couldn't find the answer.
> For example, I would like to produce a plot of a certain
> width and height:
>
> X11(width=10, height=5)
> and I would like these to be centimeters, rather than inches.
>
> Thank you,
> Adrian
1 inch = 2.54 cm
So you could try what I do for that
> X11(width=10/2.54, height=5/2.54)
Or
> cm2in<-function(x) x/2.54
> X11(width=cm2in(10), height=cm2in(5))
HTH
Christophe
--
Christophe Declercq, MD
Observatoire regional de la sante Nord-Pas-de-Calais
13, rue Faidherbe
F-59046 LILLE Cedex
Phone 33 3 20 15 49 24
Fax 33 3 20 55 92 30
E-mail c.declercq at orsnpdc.org
>
> --
> Adrian Dusa
> Romanian Social Data Archive
> 1, Schitu Magureanu Bd
> 050025 Bucharest
> Romania
> Tel./Fax: +40 21 3126618 \
> +40 21 3120210 / int.101
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>