haleyjeppson/ggmosaic

Add percentage scale on x-axis

Opened this issue · 1 comments

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.

eu_footprint_mosaic
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!

Using scale_y_continuous(labels = scales::percent, breaks = scales::pretty_breaks(n = 10)) does the trick for me