How to rotate image when its handle is not a matrix?
1 次查看(过去 30 天)
显示 更早的评论
i when to rotate a moving image whose xdata and ydata is set. now i cant able to rotate it.
0 个评论
回答(1 个)
Walter Roberson
2013-11-26
Create an hgtransform group, set() the parent of the image to that group, makehgtform() to create the rotation matrix, and set() that into the hgtransform group to put the rotation into effect. See http://www.mathworks.com/help/matlab/ref/hgtransform.html
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Object Containers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!