gradientLegendGrob           package:gmaps           R Documentation

_G_r_a_d_i_e_n_t _L_e_g_e_n_d _G_r_o_b_s

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

     gradientLegendGrob creates a gradient legend grid graphics object.

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

     gradientLegendGrob<-function(
             at=seq(0,1,length=5),
             axis.min=min(at),
             axis.max=max(at),
             labels=as.character(at),
             col.fun=grey,
             delta=.01,
             vertical=F,                     
             reverse=F,
             name=NULL,
             gp=NULL,
             vp=NULL,
             ...) 
     grid.gradientLegendGrob(...)
     widthDetails.gradientLegendGrob(x)
     heightDetails.gradientLegendGrob(x)

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

      at: where to place tick marks.

axis.min: To specify the axis minimun.

axis.max: To specify the axis maximum.

  labels: specifies specific labels for tick marks.

 col.fun: function to specify gradient.

   delta: defines level of precision of gradient, smaller is a finer
          gradient

vertical: controls orientation False implies a horizontal orientation.

 reverse: controls which side to put the axis on.  If true puts the
          axis on the opposite of the default which depends on the
          argument for vertical.

    name: the name of the object.

      gp: grid graphics parameters, ie. a gpar object.

      vp: Viewport for the object.  used to embed within other objects.

     ...: other parameters passed on, mostly just ignored.

       x: A GradientLegendGrob object

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

     'USALevelPlot', 'mapGrob', Color Functions

