Problem with rotation of the rectangle
古いコメントを表示
I want to rotate the rectangle, which I have created using annotation, by 35 degree. How can I do this.
[x,y]=borders('india');
f=figure()
plot(y,x,'Color',[0.1,0.6,0.3])
pbaspect([1 1 1])
h=annotation('rectangle',[.37 .59 .18 .23],'Color','r')
I have tried by entering this command.
rotate(h,90)
but this error is creating problem
H must contain axes children only.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Object Containers についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!