Plotting mesh

Author Update time

This demo shows how to plot mesh. The cell centers are represented by the markers.

using VlasiatorPyPlot

const file = "test/data/bulk.amr.vlsv"
meta = load(file)
# 3D mesh
fig = plt.figure()
ax = fig.add_subplot(projection="3d")

plotmesh(meta, marker="+")

# 2D mesh
fig = plt.figure()

pcolormesh(meta, "proton/vg_rho"; axisunit=SI)
plotmesh(meta, projection="y"; color="w")

This page was generated using DemoCards.jl.