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

