add_defaults             package:ggplot             R Documentation

_A_d_d _d_e_f_a_u_l_t _s_c_a_l_e_s.

_D_e_s_c_r_i_p_t_i_o_n:

     Add default scales to a plot.

_U_s_a_g_e:

     add_defaults(p = .PLOT, new)

_A_r_g_u_m_e_n_t_s:

       p: plot object, if not specified will use current plot

     new: character vector of needed scales to add, see 'scales' for
          possible options

_D_e_t_a_i_l_s:

     You shouldn't need to call this function yourself.  If you want to
     add a scale to a plot, use 'add_scale'.

_A_u_t_h_o_r(_s):

     Hadley Wickham <h.wickham@gmail.com>

_E_x_a_m_p_l_e_s:

