CHLNDDEV / OceanMesh2D

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.).
https://github.com/sponsors/krober10nd
GNU General Public License v3.0
179 stars 65 forks source link

‘msh.plot’ hold on option #222

Closed krober10nd closed 3 years ago

krober10nd commented 3 years ago

Enabling two plots to be visualized on the same figure similar to what happens with ‘geodata.plot()’

Additional context

none

WPringle commented 3 years ago

yeah it has that capability now. e.g.,

plot(m,'type','b')
plot(m,'type','bdnotri','holdon',1)

will plot the boundary on top of the bathymetry. Is what you are looking for?

krober10nd commented 3 years ago

Oh nice I forgot about this feature. Just plotting two triangulations to verify they line up in different colors. Can’t change the color of the triangles though but can trick it with changing the bathymetry field