scale_continuous           package:ggplot           R Documentation

_S_c_a_l_e: _g_e_n_e_r_a_l _c_o_n_t_i_n_u_o_u_s (_i_n_c_l. _t_r_a_n_s_f_o_r_m_a_t_i_o_n_s)

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

     Transform scale with a monotone function

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

     scale_continuous(variable="x", transform=trans_none, range=c(NA,NA), expand=c(0, 0), breaks=NULL, to=NULL)

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

variable: variable name

transform: vector of length two, first element the transforming
          function and the second its inverse

   range: range of values to display on guides

  expand: expansion factor for guides

  breaks: manually specified breaks to use

      to: if non-null, scale variable to this range after
          transformation

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

     You shouldn't call this function yourself.  Please use one of:

     *  'scsize'

     *  'scgradient'

     *  'pscontinuous'

        The continuous scale is the most complicated of the scale
        functions as it accepts so many options.

        Making pretty axis labels for transformed data isn't a trivial
        problem.  Here I use a simple heuristic, and compute pretty
        breaks on the transformed range and then back transform to the
        original scale.

        There are a few common transformation vectors defined:
        'trans_log10', 'trans_log2', 'trans_sqrt', 'trans_inverse'

_V_a_l_u_e:

     modified plot object

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

     Hadley Wickham <h.wickham@gmail.com>

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

