prettyplot              package:ggplot2              R Documentation

_P_r_e_t_t_y _p_l_o_t

_D_e_s_c_r_i_p_t_i_o_n:

     Build a plot with all the usual bits and pieces.

_U_s_a_g_e:

     prettyplot(plot, plotgrob, scales=plot$scales, cs=plot$coordinates)

_A_r_g_u_m_e_n_t_s:

    plot: plot

plotgrob: plot grob

  scales: 

      cs: 

_D_e_t_a_i_l_s:

     As well as the plotting area, a plot need:

     *  main title

     *  x and y axis labels

     *  space for legends (currently on the right hand side)

        These are stored as options in the plot object.

        This function sets up the appropriate viewports and packs the
        various components in.  The viewport is set up so that each
        component will only take up the amount of space that it
        requires.

_A_u_t_h_o_r(_s):

     Hadley Wickham <h.wickham@gmail.com>

_E_x_a_m_p_l_e_s:

