rotate of a contourf contourplot
Show older comments
Hi,
I would like to plot my contourf plot in the xz plane instead of the xy plane. Before (matlab2014a) I extracted the patches of the plot and swapped the X,Y,Z data of the patches accordingly.
However in more recent versions of Matlab I cannot access the patches anymore. Therefore I tried something as:
[~,h]=countourf(...); dir=[1,0,0]; rotate(h,dir,90);
This works for a surf graphics object, but not for a contourf graphics object, but it doesn't raise an exception either.
What could be a workaround?
Thank you in advance!
Kind regards, bvrm
Answers (1)
Brecht
on 6 Apr 2018
0 votes
Categories
Find more on Lighting, Transparency, and Shading 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!