How can I arrange several plots in one figure in 3D space?
Show older comments
My problem is as follows: I have got data from a finite element solver (FlexPDE) that specify the value of a certain variable A in 2D planes (x,y) at different heights z. I can create 2D pcolor and contour plots from these data that show the value of A at given heights, in this case z1,z2 and z3. Now I want to include all these three plots in 3D space in one single figure, where each plot is shown at the height for which its data were calculated (i.e. z=z1,z2,z3 depending on plot). What is the best way to do this?
Essentially, I'm looking for results similar to slice() plots, but in my case I don't have a 3D array of data, but rather several 2D arrays of data. I've tried using slice() by combining the arrays, but I can't edit each 2D plot separately, I think (the colormap is my main issue).
Accepted Answer
More Answers (0)
Categories
Find more on Surface and Mesh 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!