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         Plane3f[]
  color               RGB{Float32}(0.4, 0.4, 0.4)
  colormap            :viridis
  colorrange          Makie.Automatic()
  colorscale          identity
  cycle               [:color => :patchcolor]
  depth_shift         0.0f0
  highclip            Makie.Automatic()
  inspectable         true
  inspector_clear     Makie.Automatic()
  inspector_hover     Makie.Automatic()
  inspector_label     Makie.Automatic()
  joinstyle           :miter
  linecap             :butt
  linestyle           "nothing"
  lowclip             Makie.Automatic()
  miter_limit         1.0471975511965976
  nan_color           :transparent
  overdraw            false
  shading             false
  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  Makie.Automatic()
  direction   :x
  fillalpha   0.15
  linestyle   "nothing"
  linewidth   1.5
  lower       Makie.Automatic()
  upper       Makie.Automatic()
source