Skip to content

Visualisation

Sunil Anandatheertha edited this page May 22, 2026 · 1 revision

Visualisation

UPXO provides a rich set of visualisation tools for 2D and 3D grain structures, grain boundaries, meshes, and statistical distributions.


2D Visualisation

Grain maps, boundary overlays, orientation maps, and property heatmaps using matplotlib.

Key modules: viz/gsviz.py, viz/gbviz.py, viz/dataviz.py


3D Visualisation

Interactive 3D rendering of grain structures and meshes using pyvista (with Jupyter support via pyvista[jupyter]).

Key module: viz/meshviz.py, viz/gsviz.py


Statistical Distribution Plots

Grain size distributions, shape factor histograms, property correlations using matplotlib and seaborn.

Key module: viz/vizDistr.py, statops/distr_01.py


EBSD Visualisation

Visualisation of EBSD-derived orientation maps and pole figures (requires pip install upxo[ebsd]).

Key module: viz/ebsdviz.py


Artwork & Plot Styling

Key module: viz/artwork_definitions.py


Coming Soon

  • Animated grain growth visualisation (Plotly — pip install upxo[viz])
  • Temporal correlation heatmaps

Clone this wiki locally