How do I make a contour of 3-dimensional data?
Show older comments
I have 3-dimensional data of temperature (Temperature(:,:,:)), where the rows express the latitude, and the columns express the longitude (I may have swapped but you get the point), and each layer is representing the depth. How do I make a 3d contour plot? I cant seem to do contour3(Temperature). Thanks, Pietro
Answers (1)
Chad Greene
on 13 May 2016
0 votes
Indeed, contour3 only works on 2D matrices, but plots contours in 3D space. What you want to do will require some manual tinkering. You could calculate an isosurface then plot it in 3D space with contour3.
Categories
Find more on Contour Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!