I have the following graph: my problem is the scale, I just need it to show the values for 1 and 2 and remove the intermediate values (1.2,1.4,1.6,1.8). How could I do it? I'm, attaching the script code for the plot.
Thanks in advance ###AV=mean values ##SD=Sd values plot(D ~ ferre$Cantidad, type="n",ylim=range(0:1.5)) points(AV, pch = 16, cex = 1.5) arrows(x0 = AV$Group.1, y0 = AV$x, x1 = AV$Group.1, y1 =AV$x + SD$x, angle = 90) arrows(x0 = AV$Group.1, y0 = AV$x, x1 = AV$Group.1, y1 =AV$x - SD$x, angle = 90) [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.