Hi, Is there any way to enforce the plot so that it draws the y-axis intercepting the x-axis at zero. Thanks in advance, Sam.
y-axis intercept
2 messages · Samuel E. Kemp, Achim Zeileis
On Fri, 2 Sep 2005 11:07:40 +0100 Samuel E. Kemp wrote:
Hi, Is there any way to enforce the plot so that it draws the y-axis intercepting the x-axis at zero.
I'm not sure what exactly you want, maybe setting ylim or yaxs or both? For example: plot(1:10, xlim = c(0, 10.5), ylim = c(0, 10.5), xaxs = "i", yaxs = "i") see also ?par for more information. Z
Thanks in advance, Sam.
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html