Re: [R] reversing the order of a y-axis in stripchart()

2012-06-21 Thread Rui Barradas
Hello, You should post a data example using dput(head(X, 20)) # or 30 Now, for your question, you can simply set ylim to the reverse order. Using one of the examples in the stripchart help page, op <- par(mfrow=c(1, 2)) # First graph, y axis in reversed order plot(1, typer="n", xlim=c(0, 9

[R] reversing the order of a y-axis in stripchart()

2012-06-21 Thread Brianna Wright
Hi, I am trying to plot a graph using stripchart() - my x-axis is categorical and my y-axis is numerical. I would like to reverse the order of my y-axis (i.e. with 0 at the top left and increasing numbers moving downward towards the bottom left corner). My data are subsetted into 3 categories that