[R] Change breaks x axis in plot
Luis Fernando García
luysgarcia at gmail.com
Thu Nov 19 20:18:16 CET 2015
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]]
More information about the R-help
mailing list