How would I go about adding these scales to my figure?

17 ビュー (過去 30 日間)
Isaiah Stefan Engle
Isaiah Stefan Engle 2017 年 5 月 27 日
編集済み: Image Analyst 2017 年 5 月 28 日

I have the first image, but need to apply the scale that is visible in the next image. How might I go about this? Could you please just point me in the right direction? Thank You.

採用された回答

MathReallyWorks
MathReallyWorks 2017 年 5 月 28 日

Hello isaiah,

Use this:

 I=imread('Amplitude2.0.jpg');
imagesc(I);
colormap(gray(256));
colorbar;

Input image:

Output:

その他の回答 (1 件)

Image Analyst
Image Analyst 2017 年 5 月 28 日
編集済み: Image Analyst 2017 年 5 月 28 日
Use
axis on
To put on a spatial scale. Use colorbar() to show the intensity scale.

カテゴリ

Help Center および File ExchangeColorbar についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by