[R] How to change the default location of x-axis in ggplot2?
hadley at rice.edu
Thu Dec 23 02:37:16 CET 2010
> In ggplot2, by default the x-axis is in the bottom of the graph and
> y-axis is in the left of the graph. I wonder if it is possible to:
> 1. put the x axis in the top, or put the y axis in the right?
> 2. display x axis in both the top and bottom?
These are on the to do list.
> 3. display x axis in both sides, and each of them has individual scales?
ggplot2 will never support this because I think it's a really really bad idea.
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
More information about the R-help