give title above displayed images of different sizes....
1 次查看(过去 30 天)
显示 更早的评论
i display images of different size in a figure file...
but i wanted to give titles also above the figure.... is it possible to give titles above the images? If yes please can someone help me how to sort it out....
0 个评论
采纳的回答
Image Analyst
2014-4-30
Try this:
axes(Handles.hSubplot(iRow,iCol));
axis('off');
title(msg{iRow,iCol});
3 个评论
Image Analyst
2014-4-30
It shoudl have worked, but try to send in the axes handle explicitly into title:
axes(Handles.hSubplot(iRow,iCol));
gca % Report current axes handle to the command line.
axis('off');
title(Handles.hSubplot(iRow,iCol), msg{iRow,iCol});
If that doesn't work, then tell me what handle ID numbers get reported to the command window.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!