Plot Zero Value on Contour Plot in MATLAB
问题 I'm plotting z values, 0 to 10, on a contour plot. When I include data 1 or greater, I obtain a contour plot. Like the following: longitude = [80 82 95] latitude = [30 32 35] temp = [1 4 6; 1 2 7; 3 5 7] contourf(longitude,latitude,temp) Now, I want to plot the ZERO VALUE also on the contour plot. While I was expecting one color representing the zero value, instead I obtained a white square. longitude = [80 82 95] latitude = [30 32 35] temp = [0 0 0; 0 0 0; 0 0 0] contourf(longitude,latitude