Skip to content

y-axis intercept

2 messages · Samuel E. Kemp, Achim Zeileis

#
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.
#
On Fri, 2 Sep 2005 11:07:40 +0100 Samuel E. Kemp wrote:

            
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