Learn R Programming

RArcInfo (version 0.4-5)

plotpoly: Plots polygons defined by the coverages.

Description

This function is capable of plotting polygons, referenced by its id number. These can be filled with colors acording to a given variate.

Usage

plotpoly(arc,bnd,pal,index=NULL,col, border=NULL,xratio=1, yratio=1,...)

Arguments

arc
The data returned by a call to get.arcdata
bnd
The data returned by a call to get.bnddata
pal
The data returned by a call to get.paldata
index
IDs of the polygon to be plotted. If it is 'NULL' then all the polygons are plotted.
col
Colors to be used when filling the polygons
border
Colors used for the lines of the polygons. If it's not set, it is set to the value of 'col'.
xratio
Controls x-axis ratio. It can take any value from 0 to 1.
yratio
Controls x-axis ratio. It can take any value from 0 to 1.
...
Options to be passed to a call to the function plot when creating the display (i. e., window or file).

Value

  • Thins function returns nothing, but plots a nice map. :-D