ggplot2 can't save complete figure

As the figure shows that when i using ggplot2 to create a plot,part of the figure ,circled with blue line, can't show in the Plots Interface anyhow i adjust the size and even if i save the figure as .tiff or .png or various formats it still don't show the part,what should i do to see or save the complete figure?

You can control the space of the margin on the left side to accomodate your angled text.
Here is an example

library(tidyverse)

(plot <- ggplot(mtcars, aes(wt, mpg)) + geom_point())

plot + theme(
  plot.margin = margin(t = 2, l = 4, r = 2, b = 2, "cm"))

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.