Hello everyone,
For some reason when I use the 'contour' function, it just gives me a blank figure. On the other hand, if I use 'contour3' it displays the 3-D contour plot. Any suggestions why this may be happening?
I have a 31x1 double (x-axis), a 19x1 double (y-axis), and a 31x19 double (z-axis). - First, I use meshgrid with the x and y-axis, which gives me a 19x31 and 19x31 respectively. - Next, I transpose the z-axis to obtain a 19x31 (just as the other 2 axis) - Finally, I plot them and obtain the desired surface and mesh plots; but, I am unable to obtain the contour plot as I mentioned above.
Thank you in advance for any help provided.