polygonlevels

zvals = polygonlevels(D::GDtype, ids::VecOrMat{String}, vals::Vector{<:Real}; kw...) -> Vector{Float64}

or

zvals = polygonlevels(D::GDtype, idvals::GMTdataset; kw...) -> Vector{Float64}

Creates a vector with zvals to use in plot when creating choropleth maps and where length(zvals) == length(D).

Returns a Vector{Float64} with the same length as the number of segments in D. Its content are made up from the contents of vals but may be repeated such that each polygon of the same family, i.e. with the same ids, has the same value.

Examples

Realy need to provide one

See Also

inwhichpolygon, getbyattrib, coast, [plot3]

Source Code

This function has multiple methods: