How do surfc, meshc etc. handle the location where the contour plot is positioned along the z-axis? How do I change the position of the contour plot in R2015a/b?

3 views (last 30 days)
figure
surfc(X,Y,Z)
zlim([4.6 5.6])
...
if I try it that way I risk that my contour plot is floating somewhere in the figure or outside the axis limits. But I don't find the property that decides where the contour plot gets positioned. I know that question has been asked before, but the solutions suggested earlier didn't work.

Answers (1)

Star Strider
Star Strider on 29 Apr 2016
Actually, I asked MathWorks about this, they replied, and I sent it off to Yair Altman to post on his ‘Undocumented MATLAB’ site. See Customizing contour plots part 2. His discussion is much better than anything I could have written.

Community Treasure Hunt

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

Start Hunting!