[R] Tick marks at the 0:0 point in a plot ()
Rui Barradas
ruipbarradas at sapo.pt
Sun May 4 20:37:46 CEST 2014
Hello,
With ylim = c(100, 800) you can't get it to start at point (0, 0).
Try ylim = c(0, 800) instead.
Hope this helps,
Rui Barradas
Em 04-05-2014 18:19, Ahmed Attia escreveu:
> 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
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>
More information about the R-help
mailing list