ggsave                package:ggplot                R Documentation

_g_g_s_a_v_e

_D_e_s_c_r_i_p_t_i_o_n:

     Save a ggplot with sensible defaults

_U_s_a_g_e:

     ggsave(plot = .PLOT, filename=default_name(plot), device=default_device(filename), scale=1, width=par("din")[1], height=par("din")[2], grid="normal", dpi=96, ...)

_A_r_g_u_m_e_n_t_s:

    plot: plot to save

filename: file name/path of plot

  device: device to use, automatically extract from file name extension

   scale: scaling factor

   width: width (in inches)

  height: height (in inches)

    grid: grid to use, normal for white on pale grey, print for pale
          grey on white

     dpi: dpi to use for raster graphics

     ...: other arguments passed to device function

_D_e_t_a_i_l_s:

_A_u_t_h_o_r(_s):

     Hadley Wickham <h.wickham@gmail.com>

_E_x_a_m_p_l_e_s:

