View source: R/gg_SavePlotWithOneFixedDim.R
gg_SavePlotWithOneFixedDim | R Documentation |
Function to save a ggplot2 plot to a file, specifying the size of one dimension.
gg_SavePlotWithOneFixedDim(
filename,
plot = last_plot(),
fxdDim,
fitWidth = TRUE,
units = "in",
device = NULL,
dpi = 200
)
filename |
|
plot |
|
fxdDim |
|
fitWidth |
|
units |
|
device |
|
dpi |
|
Uses gg_FixOnePlotDim to determine the value of the missing plot dimension.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.