How to rotate multiple contour plots?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Contour Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!