Message-ID: <FC14DB55-C4FA-44B7-947B-43CE1C295BD1@auckland.ac.nz>
Date: 2009-04-03T04:08:39Z
From: Rolf Turner
Subject: How to force an point in x-axis to appear in plot
In-Reply-To: <73f827b50904022036g548abd6q170258b6282d07ee@mail.gmail.com>
On 3/04/2009, at 4:36 PM, Gundala Viswanath wrote:
> Dear all,
>
> With this snippet:
> xlim=c(-126000,500000)
>
> in the current plot, the x-axis appear in the following tick marks:
>
> -100000, 100000, 300000, ...etc
>
> How can we force a point where x=0 to appear in the plot?
> Yielding:
>
> -100000, 0, 100000, 300000, ...etc
> ^
>
> in the x-axis tick marks.
axis(side=1,at=0) might give what you want.
But I get a 0 tick mark plotted automatically when I try a simple
example.
This could be due to OS difference I guess.
cheers,
Rolf Turner
######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}