How to generate THREE surfaces side-by-side
67 views (last 30 days)
Show older comments
Hi guys,
I want to generate THREE 3d surfaces side-by-side using matlab. I have used photoshop to combine 3 example surfaces in the image below to show what I am trying to achieve. Is it possible to do this in matlab directly without needing photoshop?
Thank you
0 Comments
Answers (1)
arun
on 10 Jul 2015
Edited: arun
on 10 Jul 2015
[X Y Z] =peaks(25);
subplot(1,3,1)
surf(X,Y,Z)
axis square
subplot(1,3,2)
surf(X,Y,Z)
axis square
subplot(1,3,3)
surf(X,Y,Z)
axis square
Here subplot controls number of plot required and structure of subplot . U can refer following link for more detail http://in.mathworks.com/help/matlab/creating_plots/create-graph-with-subplots.html
5 Comments
See Also
Categories
Find more on Subplots 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!