ptOpacity {Racmacs}R Documentation

Set point opacity in a map

Description

These are helper functions to quickly set the opacity of points in a map, they set both the fill and outline color opacity by modifying the fill and outline colors to include an alpha channel for opacity. If you need more control, for example different opacities for the fill and outline colors, you alter the fill and outline opacities yourself, for example with the grDevices::adjustcolor() function.

Usage

agOpacity(map) <- value

srOpacity(map) <- value

Arguments

map

An acmap object

value

A vector of opacities

Value

A numeric vector of point opacities.

See Also

Other map point style functions: applyPlotspec(), ptDrawingOrder(), ptStyles


[Package Racmacs version 1.2.9 Index]