필터 지우기
필터 지우기

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

조회 수: 11 (최근 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 CenterFile Exchange에서 Colorbar에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by