Contour-plot - Delete lines in legend colorbar
3 views (last 30 days)
Bjorn Gustavsson on 25 Jun 2021
If you keep track of the handle returned by colorbar then it is easy to supress the ticks:
cbh = colorbar;
However, I find these tickmarks very helpful to guide the eyes - especially for plots on logarithmic scales (but this is obviously a design choise depending on personal preferences).