I want to plot three surfaces in one figure
1 view (last 30 days)
Show older comments
farjana siddiqua
on 29 Sep 2016
Commented: farjana siddiqua
on 29 Sep 2016
Hi I have a problem regarding showing three surfaces together.
dx=0.05;dt=0.0001;
[c0,psi02d2,cold1,psiold1]=pnp2d(dx,dt,0.1,-1,'initial1')
[c0,psi02d2,cold2,psiold2]=pnp2d(dx,dt,0.05,-1,'initial1')
subplot(2,3,1); surf(c0')
subplot(2,3,2); surf(cold1')
subplot(2,3,3); surf(cold2')
i want to show them together in single graph
0 Comments
Accepted Answer
Image Analyst
on 29 Sep 2016
I don't know if it will work, but try using "hold on" instead of subplot().
More Answers (0)
See Also
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!