MATLAB Answers

Collapse contour plots on a single plot

2 views (last 30 days)
SS
SS on 11 Nov 2019
Answered: ME on 11 Nov 2019
Hi. I have two 10 contour plots with some colorbar to represent intensities. I want to combine them all together on to a single contour plot. Is it possible to do it? If so, can someone help me with the code?

Accepted Answer

ME
ME on 11 Nov 2019
If you just want them all on a single plot then just do:
contour(x1,y1,z1)
hold on
contour(x2,y2,z2)
and so on...
If you want to stack the contour plots at different z levels then you can look here

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by