Skip to content

Draft: Plotting fundamentals with Pyvista

Lars Bilke requested to merge bilke/ogstools:lib-io into main

Purpose

This is a showcase on implementing some simple plotting functions in relation to the discussion in #1 (comment 112944) with Pyvista as the data backend.

I want to highlight how short the code is, the reader is under 50 lines, the plotting / interpolation around 70 lines.

Features

  • Reading pvd and xdmf time series
  • Plot all variables on points over time
  • Plot specific variables on points over time
  • Implements partly #2 (closed)

Categories

  • visualization

Example

See the notebook on example usage: https://gitlab.opengeosys.org/bilke/ogstools/-/blob/lib-io/ogstools/examples/plot_points.ipynb

Merge request reports

Loading