Quantcast
Channel: Use different scale tick mark labelling functions with facet_wrap() in ggplot2 - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Image may be NSFW.
Clik here to view.

Answer by Robert Lew for Use different scale tick mark labelling functions...

If you're happy with the suffixes being selected automatically, you can use the cut_long_scale() helper function available alongside the scale_cut option. The advantage over the manually defined scales...

View Article



Image may be NSFW.
Clik here to view.

Answer by teunbrand for Use different scale tick mark labelling functions...

You might be interested in ggh4x::scale_y_facet(). You give it a way to find the appropriate panel cond == "C" and give it a different label function than the default scale. It only works with facets...

View Article

Image may be NSFW.
Clik here to view.

Use different scale tick mark labelling functions with facet_wrap() in ggplot2

My question is similar to this question but differs in an important aspect. I want to use different labelling functions created with the {scales} package for the tick mark labels (not the axis labels)....

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images