Hi experts

I woul like to change my x-axis. Like this: 10,...,2,...,1

I am using this code:

r<-c(1:10)
plot(r, axes=FALSE, frame.plot=TRUE,xlim=c(10,1))
axis(1,at=10/seq(1:10))
axis(2, at=axTicks(2), axTicks(2))

but my x-sxis i still: 1,..., 2,...,10

What should I do?

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to