Why is my title not showing when i display my image?

84 ビュー (過去 30 日間)
Karim Aawar
Karim Aawar 2022 年 8 月 24 日
Anyone has any idea why? i can see the image but i can never see the title. i tried placing it before my gca paramters and it didnt work either
imshow(strain_image)
set(gca,'DataAspectRatioMode','auto')
title("0.5mm-1mm Agarose Phantom")
set(gca,'Position',[0 0 1 1])
colormap("jet")
Thanking you in advance :)

採用された回答

Mathieu NOE
Mathieu NOE 2022 年 8 月 29 日
hello
because now your image fills all the space, the title is hidden
try with a smaller height :
imshow(strain_image)
set(gca,'DataAspectRatioMode','auto')
title("0.5mm-1mm Agarose Phantom")
% set(gca,'Position',[0 0 1 1])
set(gca,'Position',[0 0 1 0.9]) % 4th parameter must be < 1
colormap("jet")
  3 件のコメント
Duncan Carlsmith
Duncan Carlsmith 2023 年 4 月 6 日
Thank you!
Shwetabahen Rangani
Shwetabahen Rangani 2023 年 7 月 8 日
Thanks !!!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by