[R] RES: How to force axis to have the same range

Sebastien Bihorel Sebastien.Bihorel at cognigencorp.com
Wed Apr 22 14:26:02 CEST 2009


Thanks to all the people who answer my question. It is know clear to 
know how to produce a square shape graph... but I guess there is no easy 
way to force the x and the y axis to have the same limits.

*Sebastien*


Rodrigo Aluizio wrote:
> Hi Sebastien, take a look at the par(pty='s') argument. Maybe its can solve
> your issue.
>
> Best wishes.
>
> Rodrigo.
>
> -----Mensagem original-----
> De: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] Em
> nome de Sebastien Bihorel
> Enviada em: segunda-feira, 20 de abril de 2009 12:26
> Para: R-help
> Assunto: [R] How to force axis to have the same range
>
> Dear R-users,
>
> I am trying to produce (standard and trellis) scatterplots which use the 
> same range of the x and y axes. In addition, I would like the plots to 
> be physically square. Is there one or more specific argument(s) to plot 
> and xyplot what would do that? I have looked at various combinations of 
> asp and pin value, but could not get what I wanted..
>
> Thank you in advance for your help
>
> Sebastien
>
> ______________________________________________
> 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