fill.outside.border: Fills space outside the border of a plot.

Description Usage Arguments Value Side Effects See Also Examples

View source: R/fill.outside.border.R

Description

When programs like geopolygon are used they sometimes fills space outside the border of their plots, to refill that space white we use fill.outside.border.

Usage

1
fill.outside.border(col = 0, rat = 1)

Arguments

col

The color of the fill, default is 0 (usually white).

rat

Ratio between the size of the current plot and the size of the fill, if you want to allow the program to draw 5% outside the plot you set rat =1.05. Default rat = 1.

Value

No Value.

Side Effects

Fill outside of the border of the current plot.

See Also

geoworld, geopolygon.

Examples

1
2
3
4
5
6
7
## Not run: 
	geoplot(xlim=c(-50,20),ylim=c(50,70))       # Initialize plot.
       geoworld(fill=T,color=120)                  # Colour countries.
       fill.outside.border()                       # Clear outside of border.
       geoplot(xlim=c(-50,20),ylim=c(50,70),new=T) # Relabel.

## End(Not run)

geo documentation built on May 29, 2017, 5:36 p.m.