MATLAB: Rotating contourf in r2014b

contourfr2014brotate

How to rotate contours generated using contourf command in MATLAB R2014b?
rotating using get(gca, 'Children') doesn't seem to work.

Best Answer

Sean's right. The rotate command only works on a few types of objects, and you probably want to try hgtransform instead.
That would look something like this:
g = hgtransform
contourf(peaks,'Parent',g)
set(g,'Matrix',makehgtform('zrotate',pi/3))
Related Question