saveplot: Save plot with ggsave

Description Usage Arguments Examples

Description

Save ggplot - ggsave wrapper. Saves image, GGplot object, and data.

Usage

1
2
3
saveplot(plotname = "Plot", plotformat = "eps", ffamily = "Helvetica",
  splot = last_plot(), ploth = 21/2, plotw = 14, plotdir = ".",
  dpi = 96)

Arguments

plotname

String. Defaults 'Plot'.

plotformat

String

ffamily

Font family. Defaults to 'Helvetica'

splot

Ggplot object. Defaults to last plot

ploth

Height of plot in centimeters. Defaults to 11.5

plotw

Width of plot in centimeters. Defaults to 14

plotdir

Directory for saving - plot, data and image are saved into subdirectories

dpi

resolution for raster graphics, passed to ggsave

Examples

1

petrbouchal/pbtools documentation built on May 25, 2019, 2:53 a.m.