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, aesthetics)

_A_r_g_u_m_e_n_t_s:

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

aesthetics: list of unevaluated aesthetics

_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:

