I don't understand your question - you want a tick mark at 0,0 but you explicitly ask for the y axis to start at 100 (and to go upwards from there). Do you mean you want the initial tick mark on an axis to be at the lower left corner of the plot? If so, see if adding xaxs="i", yaxs="i" to your plot command helps. E.g., compare plot(0:10,0:10, xaxs="i", yaxs="i") and plot(0:10,0:10) Bill Dunlap TIBCO Software wdunlap tibco.com
On Mon, May 5, 2014 at 11:27 AM, Ahmed Attia <[email protected]> wrote: > Dear R usres, > > Sorry to bother you with my basic question. I have a quick question about > tick mark in R. A reviewer wants the tick marks of the graph to start at > 0:0 point. My current code below produces the tick mark a little far from > the corner; > > plot(Simu2~Irrig, data=Ahmed,pch=17, col=1,subset=ET=="40",tck=-0.01, > xlab = ("Applied Irrigation (mm)"), ylab = expression(paste("Cumulative > ET (mm)")) > ,cex.lab=1.2, cex.axis=0.8,cex=0.9,font.lab=1,xlim = c(0,1000), > xaxp=c(0,1000,10), yaxp=c(100,800,7), > ylim=c(100,800)) > > Any ideas. > > Thank you > > Ahmed M. Attia > > > Research Assistant > Dept. of Soil&Crop Sciences > Texas A&M University > [email protected] > Cell phone: 001-979-248-5215 > FAX: 001-308-455-4024 > > ______________________________________________ > [email protected] 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. > ______________________________________________ [email protected] 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.

