Contour plot omitting certain points
3 views (last 30 days)
I have the following dataset, TSE_compiled of which I have plotted as contours using contourf.
However, after comparing my dataset to the contour plot,
- I noticed that the plot is missing the last row of my matrix.
- caxis maximum limit is also capped at 10. Therefore, any data > 10 does not get plotted.
I have attached my mat. file and plot below. Thank you for your help.
max_lim = max(TSE_compiled,,'all'); % 13.6147
min_lim = min(TSE_compiled,,'all'); % -17.4632
lim = caxis; % -17.4632 10.0000
Chris on 7 Nov 2021
Edited: Chris on 7 Nov 2021
If it bothers you, you can set caxis(min_lim,max_lim).
You can include more levels by indicating the number in the function call:
All the points in the matrix are there. The last row (17) is on the upper edge of the image.
You can also specify the contour levels.
levels = -18:14;
levels(end) = 13.3;