Examples

Author

Daniel Sussman

Published

February 26, 2024

Modified

February 26, 2024

Figure Sizing

Here are some examples of changing the size of a figure.

plot(1:10)

plot(1:10)

We can also specify column: screen and out-width: 100% so that the figure will fill the screen. plot in the svg vector graphics file format.

library(ggplot2)
ggplot(pressure, aes(x = temperature, y = pressure)) + geom_point()