plotpoly {RArcInfo} | R Documentation |
This function is capable of plotting polygons, referenced by its id number. These can be filled with colors acording to a given variate.
plotpoly(arc,bnd,pal,index=NULL,col, xratio=1, yratio=1,...)
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 |
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). |
Thins function returns nothing, but plots a nice map. :-D