Alright but then if I include an aspect ratio, the y-axis no longer
starts at 0 at the bottom of the plot.
x <- c(-2.5, -1.3, 0.6, 0.8, 2.1)
y <- c(0.3, 1.9, 1.4, 0.7, 1.1)
plot(x, y, ylim=c(0, 2), yaxs="i", asp=1.25)
__
R-help@r-project.org mailing li
Greetings.
[1] How do I move the horizontal axis in a plot so that it starts at the
zero of the vertical axis? I tried using ylim=c(0, 2) but it doesn't
work. I'd also like to keep the "0.0" along the vertical axis and not
have it vanish.
[2] Also, how do I change the data points to five-pointed
Greetings.
I was told to email my question.
Why do my posts not get accepted to the mailing list?
Example:
http://r.789695.n4.nabble.com/How-do-I-move-the-horizontal-axis-in-a-plot-so-that-it-starts-at-the-zero-of-the-vertical-axis-td4696935.html
I don't understand why I always have this problem
3 matches
Mail list logo