Skip to content

ggplot question: how to have two y-axis guide on one plot?

3 messages · Roe, Colleen, David Winsemius

#
On Dec 13, 2013, at 3:01 PM, Roe, Colleen wrote:

            
Here is why Hadley says it's not a feature:

http://stackoverflow.com/questions/3099219/how-to-use-ggplot2-make-plot-with-2-y-axes-one-y-axis-on-the-left-and-another
#
On Dec 13, 2013, at 6:23 PM, David Winsemius wrote:

            
However;  @kohske has provided a strategy and it's on the RStudio server.

http://rpubs.com/kohske/dual_axis_in_ggplot2

I found it linked from one of the other questions on SO with a search string of: 

[r] two y axes ggplot2