Skip to content

Recipes

AlgebraOfGraphics.choropleth Function
julia
choropleth(geometries; transformation, attributes...)

Choropleth map, where regions are defined by geometries. Use transformation to transform coordinates (see Proj.jl for more information).

Warning

The transformation keyword argument is experimental and could be deprecated (even in a non-breaking release) in favor of a different syntax.

Attributes

Available attributes and their defaults for Plot{AlgebraOfGraphics.choropleth} are:

  alpha               1.0
  clip_planes         MakieCore.Automatic()
  color               RGBA{Float32}(0.0, 0.0, 0.0, 0.6)
  colormap            :viridis
  colorrange          MakieCore.Automatic()
  colorscale          identity
  cycle               [:color => :patchcolor]
  depth_shift         0.0f0
  highclip            MakieCore.Automatic()
  inspectable         true
  inspector_clear     MakieCore.Automatic()
  inspector_hover     MakieCore.Automatic()
  inspector_label     MakieCore.Automatic()
  joinstyle           :miter
  linecap             :butt
  linestyle           "nothing"
  lowclip             MakieCore.Automatic()
  miter_limit         1.0471975511965976
  nan_color           :transparent
  overdraw            false
  shading             NoShading
  space               :data
  ssao                false
  stroke_depth_shift  -1.0f-5
  strokecolor         :black
  strokecolormap      :viridis
  strokewidth         0
  transparency        false
  visible             true

source

AlgebraOfGraphics.linesfill Function
julia
linesfill(xs, ys; lower, upper, attributes...)

Line plot with a shaded area between lower and upper. If lower and upper are not given, shaded area is between 0 and ys.

Attributes

Available attributes and their defaults for Plot{AlgebraOfGraphics.linesfill} are:

  color       :black
  colormap    :viridis
  colorrange  MakieCore.Automatic()
  fillalpha   0.15
  linestyle   "nothing"
  linewidth   1.5
  lower       MakieCore.Automatic()
  upper       MakieCore.Automatic()

source