A two-dimensional triangular mesh generator with pre- and post-processing utilities written in pure MATLAB (no toolboxes required) designed specifically to build models that solve shallow-water equations or wave equations in a coastal environment (ADCIRC, FVCOM, WaveWatch3, SWAN, SCHISM, Telemac, etc.).
When plotting with the colormap kwarg option using msh.plot, when the ticks field of the cb colorbar are replaced inside msh.plotter, the colormap reverts to the previous version before the colormap with the desired pivot was applied.
A temporary workaround is to call the cmocean command with your desired pivot after the figure is created; however, this should be fixed internally.
When plotting with the colormap kwarg option using
msh.plot
, when the ticks field of thecb
colorbar are replaced insidemsh.plotter
, the colormap reverts to the previous version before the colormap with the desired pivot was applied.A temporary workaround is to call the cmocean command with your desired pivot after the figure is created; however, this should be fixed internally.
MFE:
you can see that the colormap will not respect the pivot value.
You'd have to type
for that pivot you want to be respected.