colps: Open a postscript device with the color scheme given by...

Description Usage Arguments Details Value Side Effects See Also Examples

View source: R/colps.R

Description

The function starts a postscript device and the arguments are the same as the arguments to postscript (height, width, file, bg etc).

Usage

1

Arguments

...

The arguments to postscript are optional. See help postscript.

Details

<!–explain details here–>

Value

No value returned.

Side Effects

A graphics device is opened (often a file). It must be closed again by dev.off()

See Also

postscript, geoplotpalette,litir

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
colps(file="map1.ps",height=6,width=5)
geoplot(xlim=c(-28,-10),ylim=c(64,69))
geosymbols(data,z=data$value,circles=0.2,sqrt=T)
geopolygon(island,col="white")# paint white over the symbols
geolines(island) # that are inside the country.  (island)
dev.off()

# same example in a different way.
colps(file="map1.ps",height=6,width=5,bg="white")
geoplot(xlim=c(-28,-10),ylim=c(64,69))
geosymbols(data,z=data$value,circles=0.2,sqrt=T)
geopolygon(island,col=0)#col 0 is now white
geolines(island) # was transparent earlier
dev.off()

## End(Not run)

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