plotLand: plotLand - puts land mass on top of a plot; covers land...

View source: R/ausmaps.R

plotLandR Documentation

plotLand - puts land mass on top of a plot; covers land overlaps

Description

plotLand - puts land mass on top of a plot; covers land overlaps Used primarily after using plotpolys, which often leaves some oblongs sitting over parts of the coast. Using addpoints can also leave points on land. However, if you want to illustrate things on land then now you can use RGB = TRUE, and if you set alpha to 0.1 this will be transluscent andpoints in rivers, etc, will still be visible. If you use this option then incol becomes the red intensity and must lie between 0 and 1.

Usage

plotLand(incol = "lightgrey", RGB = FALSE, green = NA, blue = NA, alpha = NA)

Arguments

incol

defaults to "lightgrey" but can be any single number representing a colour.

RGB

should we use an rgb colour; default = FALSE

green

the green intensity default = NA

blue

the blue intensity

alpha

the standard density 1 = full colour 1/10 = one tenth

Value

Nothing returned but the plot of land is repeated in light blue

Examples

## Not run: 
  dev.new(height=6.0,width=7.5,noRStudioGD = TRUE)
  plotaus()
  plotLand(incol="red")
  plotLand(incol=1,RGB=TRUE,green=0,blue=0,alpha=(1/10))

## End(Not run)

haddonm/rforcpue documentation built on Oct. 12, 2024, 11:55 p.m.