pointmap               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:

     pointmap(pts,add=FALSE,axes=TRUE,xlab="",ylab="", asp,...)

_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. 

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

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

     asp: aspect parameter for plot

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

_D_e_t_a_i_l_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. `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 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:

     `mpoint'

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

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

