[R] Tick marks at the 0:0 point in a plot ()

Ahmed Attia ahmedatia80 at gmail.com
Mon May 5 20:27:08 CEST 2014


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
ahmed.attia at ag.tamu.edu
Cell phone: 001-979-248-5215
FAX: 001-308-455-4024


More information about the R-help mailing list