Most objects defined in GeoStats.jl can be plotted directly with Plots.jl or Makie.jl. In order to do this, first install GeoStatsPlots.jl (for Plots.jl) or GeoStatsViz.jl (for Makie.jl), which define recipes for each plotting library. Additional plots are listed below that can be useful for geostatistical analysis.
hscatter plot between two variables
var2 (possibly with
var1) is a simple scatter plot in which the dots represent all ordered pairs of values of
var2 at a given lag
using GeoStats using Plots, GeoStatsPlots 𝒟 = georef((Z=[10sin(i/10) + j for i in 1:100, j in 1:200],)) 𝒮 = sample(𝒟, 500) p1 = hscatter(𝒮, :Z, lag=0) p2 = hscatter(𝒮, :Z, lag=20) p3 = hscatter(𝒮, :Z, lag=40) p4 = hscatter(𝒮, :Z, lag=60) plot(p1, p2, p3, p4)
The StatsPlots.jl package provides various statistical plots such as
violin and other plots commonly used in statistical workflows.