[R] how to get the plot like the attachment?

Peter Ehlers ehlers at ucalgary.ca
Fri Nov 26 17:57:27 CET 2010


On 2010-11-26 06:50, bbslover wrote:
>
> http://r.789695.n4.nabble.com/file/n3060425/fig_1.png  fig. 1
> http://r.789695.n4.nabble.com/file/n3060425/fig_2.png  fig. 2
>
> I want to the picture like the above one, the origin crossover together,
> while the following picture can be obtained by default and the origin is
> detached, but throgut pulling the window, I can get the one like fig_1.
> Now, I want to know how to use the code to obtain directly the formation in
> fig.1(orgin together)?
>

Just use xaxs='i', yaxs='i' and xlim=c(3,8), ylim=c(3,8).

Peter Ehlers

> thanks
>
> kevin



More information about the R-help mailing list