Closed WPringle closed 3 years ago
change order in cmocean for applying the layer interpolation to the end (seems better to me)
What does this mean?
change order in cmocean for applying the layer interpolation to the end (seems better to me)
What does this mean?
So in cmocean it was applying the interpolation of the continuous colormap to discrete levels somewhere in the middle of the code, however I changed it to the end.
The reason being was that for the colormap with pivots the interpolation to the discrete levels before the pivot application was causing problems because the pivot will not be precisely applied once the colormap has been reduced to a few discrete levels. I found better performance with it at the end with pivots e.g., when plotting the bathymetry 'b'.
yea, there's often random issues with plotting some quantities that require you tweak the colormap option. I guess this helps reduce the occurrence of those issues.
changelog?
changelog?
look ok?
Looks great to me.
cmocean
for applying the layer interpolation to the end (seems better to me)cmocean
inplotter
to the endradius_separated_points
function that is to be used beforem_quiver
function to ensure that you have get equal spatial distribution of arrowstidal_data_to_ob
function so that it keeps all tidal constituents for the boundary but sets to zero those which are not in the database to make it easier for user to set themselves later if desired.msh.plot()
to use the background color (backcolor
option)