viewport_default           package:ggplot2           R Documentation

_D_e_f_a_u_l_t _v_i_e_w_p_o_r_t_s

_D_e_s_c_r_i_p_t_i_o_n:

     Set up named viewports that the other components use.

_U_s_a_g_e:

     viewport_default(plot, guides, scales, coordinates)

_A_r_g_u_m_e_n_t_s:

    plot: plot object

  guides: guides grobs

  scales: scales grobs

coordinates: 

_D_e_t_a_i_l_s:

     This function sets up a \'\vpTree' in which all of the components
     of a plot will be placed.   This allows for a clean separation
     between the generation of plot objects, and their placement, and
     means none of the components have to know anything about the
     others.

     This function is responsible for the overall layout of the plot,
     ie where the panels, labels and axes go.  In future, I will add
     more viewport layout functions so that you can have the same
     layout as, e.g., the trellis default.

_A_u_t_h_o_r(_s):

     Hadley Wickham <h.wickham@gmail.com>

_E_x_a_m_p_l_e_s:

