Re: [R] Change breaks x axis in plot

2015-11-19 Thread John Kane
gt; To: r-help@r-project.org > Subject: [R] Change breaks x axis in plot > > 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, > attachin

Re: [R] Change breaks x axis in plot

2015-11-19 Thread ruipbarradas
Hello, Maybe something like this? plot(1:2, xaxp = c(1,2,1)) See ?par. Hope this helps, Rui Barradas   Citando Luis Fernando García : > 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).

[R] Change breaks x axis in plot

2015-11-19 Thread Luis Fernando García
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, t