How can I get a specific shape of a contour plot in MATLAB? I have plotted this figure using the MATLAB contourf(x,y,z) function, where x and y are the vectors and Z is a matrix. How can only I get the Lower triangle?
Thank you
How can I get a specific shape of a contour plot in MATLAB? I have plotted this figure using the MATLAB contourf(x,y,z) function, where x and y are the vectors and Z is a matrix. How can only I get the Lower triangle?
Thank you
Copyright © 2021 Jogjafile Inc.
You need to make the values of z = NaN at the locations you don´t want to plot. This example code might help you: