Skip to contents

This function creates a continuous y-axis scale with numbers formatted according to the current language setting.

Usage

scale_m_number(..., expand = c(0, 0))

Value

A ggplot2 scale object for the y-axis with formatted numbers.

Examples

library(ggplot2)
ggplot(mtcars, aes(x = wt, y = mpg)) +
  geom_point() +
  scale_y_number()