UCL / dxh

Collection of helper functions for working with DOLFINx Python interface
http://github-pages.ucl.ac.uk/dxh/
MIT License
3 stars 0 forks source link

Add support for fixing scaling of function values across multiple axes in plot functions #19

Closed matt-graham closed 1 month ago

matt-graham commented 1 month ago

@phillu99 mentioned that when plotting multiple error surfaces using the dxh.plot_2d_functions function with plot_type = "surface") as each subplot autoscales the vertical axis (corresponding to the function / error value) it is difficult to compare the relative values across subplots. Ideally we should have a flag to allow using a common scale across plots - for the plot_type = "pcolor" case this would instead be using a common colormap across different subplots.