Rotate the colormap image: Axis labels missing after rotation!
5 ビュー (過去 30 日間)
古いコメントを表示
I have a colormap image as shown here.
I want to rotate it through 45 degrees. I used imrotate to perform this as follows:
ImageRot=imrotate(Image,45);
imshow(ImageRot,'colormap',jet)
set(gca,'Clim',[0,25])
After doing this, I am getting the image rotated but unfortunately without axis, labels and title... im just getting the image (following image).
How can I insert the axis labels and all or how to perform rotation keeping the axis labels and title?
2 件のコメント
Image Analyst
2014 年 12 月 14 日
What is the point of the set() function? What if you just don't call that? At what point does the colorbar vanish?
採用された回答
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!