panel.spplot               package:sp               R Documentation

_p_a_n_e_l _a_n_d _p_a_n_e_l _u_t_i_l_i_t_y _f_u_n_c_t_i_o_n_s _f_o_r _s_p_p_l_o_t

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

     panel functions for spplot functions, and functions that can be
     useful within these panel functions

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

     sp.pagefn(n)
     spplot.key(sp.layout, rows = 1, cols = 1)
     SpatialRingsRescale(obj, offset, scale = 1, fill = "black", col = "black",...)
     sp.lines(obj, col = 1, ...)
     sp.points(obj, pch = 3, ...)
     sp.polygon(obj, col = 1, ...)
     sp.text(loc, txt, ...)

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

       n: ignored

sp.layout: list; see spplot for definition 

    rows: integer; panel row(s) for which the layout should be drawn 

    cols: integer; panel column(s) for which the layout should be drawn 

     obj: object of class SpatialRings-class for 'SpatialRingsRescale';
          of class SpatialLines-class, Slines-class or Sline-class for
          'sp.lines' of a class that has a coordinates-methods for
          'sp.points'; of class SpatialRings-class for 'sp.polygon'. 
          When obj is character, the actual object is retrieved by
          'get(obj)' before its class is evaluated.  

  offset: offset for shifting a Rings object 

   scale: scale for rescaling 

    fill: fill color 

     col: line color 

     pch: plotting character 

     loc: numeric vector of two elements 

     txt: text to be plotted 

     ...: arguments passed to the underlying lattice or grid functions

_N_o_t_e:

     The panel functions of spplot, 'panel.gridplot' for grids,
     'panel.pointsplot' for points, or 'panel.ringsplot' for lines or
     rings (polygons) can be called with arguments '(x,y,...)'.
     Customizing spplot plots can be done by extending the panel
     function, or by supplying an sp.layout argument; see the
     documentation for spplot.

     'SpatialRingsRescale' scales and shifts an object of class
     SpatialRings-class; this is useful e.g. for scale bars, or other
     layout items.

     'sp.lines', 'sp.points', 'sp.polygon' and 'sp.text' plot lines,
     points, rings or text in a panel.

     'spplot.key' draws the 'sp.layout' object at given rows/cols.

     'sp.pagefn' can be passed as a 'page' argument, and will call
     function 'spplot.key' for the last panel drawn on a page.

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

     Edzer J. Pebesma, e.pebesma@geo.uu.nl

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://r-spatial.sourceforge.net/> has a graph gallery with
     examples with R code.

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

     spplot, spplot-methods

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

