How to rotate multiple contour plots?

1 visualizzazione (ultimi 30 giorni)
Venkatessh
Venkatessh il 19 Apr 2013
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

Risposte (0)

Categorie

Scopri di più su Contour Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by