addbrush           package:DescribeDisplay           R Documentation

_A_d_d _b_r_u_s_h _t_o _p_l_o_t

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

     This adds a rectangle to a ggplot plot indicating the brush
     position

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

     addbrush(plot, x,y, width=0.5, height=0.5, just=c("left", "top"), fill=NA, col="black")

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

    plot: plot object

       x: x position of brush

       y: y position of brush

   width: width of brush

  height: height of brush

    just: which corner of brush should be determined by x and y
          position

    fill: fill colour for brush (use 'alpha' for alpha blending)

     col: outline colour of brush

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

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

     Hadley Wickham <h.wickham@gmail.com>

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

