Add percentage scale on x-axis
Opened this issue · 1 comments
martinbruckner commented
Is it possible to add a percentage scale to the x-axis of my ggmosaic plot, which is shown below?
You can reproduce my figure with this code.
Besides that it would be great to have the region names on top of the figure.
Many thanks for your help and for the great package!
gregleleu commented
Using scale_y_continuous(labels = scales::percent, breaks = scales::pretty_breaks(n = 10))
does the trick for me