How to rotate multiple contour plots?

1 次查看(过去 30 天)
I am trying to make multiple contour plots on a same figure. I would like to rotate all of them by certain angle. I tried using the rotate command like,
[c,h] = contour(x,y,z)
rotate(get(h,'children'),[0 0 1],45)
and had no problems when making a single contour plot. But this doesn't work for multiple plots when I issue the command,
for i = 1:5
[c,h] = contour(x{i},y{i},z{i})
rotate(get(h,'children'),[0 0 1],45)
if (i == 1)
hold on
end
end
Any suggestions on the approach? Thanks

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Contour Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by