xx <- seq(1, 2, by = 0.1)
yy <- sample(1:20, 11)
plot(xx, yy, xaxt="n")
axis(1, at=1: 2, labels=letters[1:2])
may be what you want.
John Kane
Kingston ON Canada
> -Original Message-
> From: luysgar...@gmail.com
> Sent: Thu, 19 Nov 2015 16:18:16 -0300
> To: r-help@r-project.org
> Subjec
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).
2 matches
Mail list logo