Hi all, please consider this plot:

 

xx <- seq(4, 0.01, by = -0.04)

yy <- rnorm(xx)

plot(xx, yy, type="l")

 

Here you see my original 'xx' was in decreasing order, however R puts it in
the increasing order. I understand that in any plot x and y axis grow is
increasing order, however I am wondering whether I can manipulate this to
suit my above particular problem, so that number displayed in x-axis would
be in the given order.

 

Thanks,


        [[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