Skip to content
Prev 294056 / 398503 Next

Two Y axes (same scale) in ggplot2 or plot

On 08/05/2012 3:23 PM, Gary Dong wrote:
In base graphics, you can have as many axes as you like, displaying 
anything.  Use the axis() function.  See ?axis for the arguments that 
determine placement, ticks, etc.

I would guess the same flexibility is there in ggplot2, but I don't know 
how to do it.

Duncan Murdoch