I'm trying to plot the landmask (logical 0 or 1) using a uniform color. Below is my code:
[C1, h1] = m_contourf (X, Y, M, [1, 1]);
[C2, h2] = m_contourf (X, Y, Z2, [-5:1:45], 'LineStyle', 'none' );
How do I specify the color of the first contour to a uniform color of [0.7 0.7 0.7]?
I tried the below and it did not work.
[C1, h1] = m_contourf (X, Y, M, [1, 1], 'color', [0.7 0.7 0.7] );
Right now, its color is basically dictated by the "caxis([0 45])" command the same way as the 2nd contourf plot.