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}}

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to