Skip to content
Back to formatted view

Raw Message

Message-ID: <AANLkTimqe51jhCwD=3WpRs=GQ_z+_h35wZqm1jjSQW5b@mail.gmail.com>
Date: 2010-12-23T01:37:16Z
From: Hadley Wickham
Subject: How to change the default location of x-axis in ggplot2?
In-Reply-To: <AANLkTinh1GbAa071hmooKm2m1hFZ9TmFzvz355ytKqsi@mail.gmail.com>

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

Hadley


-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/