Bonjour, Nicolas
par('usr') is read-only (see '?par')
That makes sense: user coordinates come from what you have plotted.
Would you show us an example of what exactly you want to do?
Christophe
--
Christophe Declercq, MD
Observatoire r??gional de la sant?? Nord-Pas-de-Calais
13, rue Faidherbe
F-59046 LILLE C??dex
Phone 33 3 20 15 49 24
Fax 33 3 20 55 92 30
E-mail c.declercq at orsnpdc.org
> -----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 Nicolas STRANSKY
> Envoy?? : jeudi 3 juin 2004 11:36
> ?? : r-help at stat.math.ethz.ch
> Objet : [R] Problem with par("usr")
>
>
> Hi,
>
> I'm trying to use the "usr" argument but I see no effect of
this option
> on my plots. For example:
>
> > par(usr=c(0,4,0,4))
> > plot(1,1)
>
> This plots one point fine, but the coordinates of the plotting region
> are not those that I specified using par()...
> I can check this with
> > par("usr")
> [1] 0.568 1.432 0.568 1.432
>
> What can I change in order to have this "usr" argument working ?
>
> The aim of all this is to be able to superpose two plots where xlim and
> ylim arguments are not sufficient for having the same scalings...
>
> Thanks for your help.
> --
> Nicolas STRANSKY
> ??quipe Oncologie Mol??culaire
> Institut Curie - UMR 144 - CNRS Tel : +33 1 42 34 63 40
> 26, rue d'Ulm - 75248 Paris Cedex 5 - FRANCE Fax : +33 1 42 34 63 49
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
>