How to rotate multiple contour plots?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Contour Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!