[R] plot - scaling axis

Hermann Norpois hnorpois at gmail.com
Tue Sep 24 19:25:31 CEST 2013


Hello,

i attached an example with two plotted vectors, respectively. And you might
see that the y and x axis are not the same scale (e.g. the third and the
last plot).

I would prefer them to be the same scale.

A toy example:

a <- c (1,2,3,4,5,6,9,20)
> b <- c (0.2,0.4,0.6,1,0.5,1,1,0.1)
> plot (a,b)

I would like to a have a plot with the same scales for the y and x axis.

Could you please give me a hint how it works.
thanks
Hermann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qholt1prc_qholt0prc.png
Type: image/png
Size: 31304 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130924/d4d611ec/attachment.png>


More information about the R-help mailing list