Hi all,
Great changes with the newest ggplot2! Following up on this request I
see that the duplicate axis is only built for continuous variable:
library(ggplot2)
library(dplyr)
iris %>%
ggplot(aes(x=Petal.Width, y=Species)) +
geom_point() +
scale_y_discrete(sec.axis = dup_axis())
iris %>%
ggplot(aes(x=Petal.Width, y=Species)) +
geom_point() +
scale_x_continuous(sec.axis = dup_axis())
So I am back to square one here. Does anyone know how to duplicate a
discrete axis like sec_axis but using a discrete variable?
Sam
P.S. Facetting really is quite improved with this version. Amazing stuff.
>>> To unsubscribe: email
ggplot2+u...@googlegroups.com
>>> More options:
http://groups.google.com/group/ggplot2
>>>
>>> ---
>>> You received this message because you are subscribed to the Google Groups
>>> "ggplot2" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to
ggplot2+u...@googlegroups.com.