Clear Filters
Clear Filters

How to rotate multiple contour plots?

1 view (last 30 days)
Venkatessh
Venkatessh on 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

Answers (0)

Categories

Find more on Contour Plots 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!