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:

