polymap               package:splancs               R Documentation

_G_r_a_p_h_i_c_s

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

     Plots point and polygon data sets on the current graphics device.

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

     polymap(poly,add=F,xlab="",ylab="",axes=T,...)

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

     pts: a points data set. 

     add: if false, start a new plot. If true, superimpose on current
          plot. 

xlab,ylab: Label strings for x and y axes. 

    axes: if true, display axes with labelling. If false, do not
          display any  axes on the plot. 

     ...: Graphical arguments may be entered, and these are passed to
          the standard S `points' and `polygon' routines.

_S_i_d_e _E_f_f_e_c_t_s:

     The specified data set is plotted on the current graphics device,
     either as points or polygons. For `polymap', the last point in the
     data set is drawn connected to the first point.

_N_O_T_E_S:

     `pointmap' and `polymap' preserve the aspect ratio in the data by
     using the `asp=1' plot argument. Graphical parameters can also be
     supplied to these routines, and are passed  through to `plot'.
     Some useful parameters include `pch' to change the plotting
     character for points, `lty' to change the line type for polygons,
     and  `type="n"' to just set up axes for the plot without plotting
     anything.

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

     Rowlingson, B. and Diggle, P. 1993 Splancs: spatial point pattern
     analysis code in S-Plus.  Computers and Geosciences, 19, 627-655;
     the original sources can be accessed at: <URL:
     http://www.maths.lancs.ac.uk/~rowlings/Splancs/>. See also Bivand,
     R. and Gebhardt, A. 2000 Implementing functions for spatial
     statistical analysis using the R language. Journal of Geographical
     Systems, 2, 307-317.

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

     `par', `mpoint'

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

     data(bodmin)
     plot(bodmin$poly, asp=1, type="n")
     pointmap(as.points(bodmin), add=T)
     polymap(bodmin$poly, add=T)

