Answers for "ggplot2 change axis scale"

0

ggplot2 change axis limits

ggplot(mtcars, aes(mpg, wt)) +
  geom_point() +
  xlim(20, 15)
Posted by: Guest on March-25-2020
0

modify axis ggplot2

scale_x_continuous(name, breaks, labels, limits, trans)
scale_y_continuous(name, breaks, labels, limits, trans)
Posted by: Guest on May-28-2021

Browse Popular Code Answers by Language