[R] y-axis intercept
Achim.Zeileis at wu-wien.ac.at
Fri Sep 2 12:15:03 CEST 2005
On Fri, 2 Sep 2005 11:07:40 +0100 Samuel E. Kemp wrote:
> 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?
plot(1:10, xlim = c(0, 10.5), ylim = c(0, 10.5), xaxs = "i", yaxs = "i")
see also ?par for more information.
> Thanks in advance,
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide!
More information about the R-help