sclinetype              package:ggplot              R Documentation

_S_c_a_l_e: _l_i_n_e _t_y_p_e

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

     Create a scale for categorical line types.

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

     sclinetype(plot = .PLOT)

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

    plot: plot to add scale to

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

     This scale is automatically added to the plot when you use the
     linetype aesthetic.  As there are no options to this scale, you
     shouldn't ever need to add it yourself.

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

     Hadley Wickham <h.wickham@gmail.com>

_S_e_e _A_l_s_o:

     'scale_categorical', 'map_linetype'

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

     p <- ggplot(mtcars, aes=list(x=mpg, y=wt, linetype=cyl))
     ggline(p)
     ggline(sclinetype(p))

