legend.image {RGeoS} | R Documentation |
Legend for the image representation of gridded data.
legend.image(pos.legend=0, z, zlim=NA, x.legend=NA, y.legend=NA, ncut=100, margin = 0.1, ...)
pos.legend |
Location of the Legend inset map in the graphic window. If set to 0, the legend is not represented. For more information on the legend location, see legend.locate(). |
z |
Vector of gridded data values on which the color scale displayed in the legend is established |
zlim |
If specified, zlim gives the range of values which is represented. If omitted, the whole range of the input variable is displayed |
x.legend,y.legend |
Opposite corners of the legend inset map |
ncut |
Number of discretization steps for representing image legend |
margin |
Percentage of the inset map used for shifting the color map |
... |
Arguments used by graphic function image |