Learn R Programming

ggplot2bdc (version 0.3.2)

ggsave_golden: Save a plot with proportions equal to the golden ratio

Description

ggsave_golden is a wrapper for ggsave that saves a ggplot to a file with proportions equal to the golden ratio (wide).

Usage

ggsave_golden(filename, plot = last_plot(), ...)

Arguments

filename
The name of the file to be written to
plot
The plot object to save. Defaults to last plot displayed.
...
Additional parameters to be passed to ggsave
width
The width of the resulting image (default: 8)
height
The height of the resulting image (default: 4.94)