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

16 vues (au cours des 30 derniers jours)
Isaiah Stefan Engle
Isaiah Stefan Engle le 27 Mai 2017
Modifié(e) : Image Analyst le 28 Mai 2017

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.

Réponse acceptée

MathReallyWorks
MathReallyWorks le 28 Mai 2017

Hello isaiah,

Use this:

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

Input image:

Output:

Plus de réponses (1)

Image Analyst
Image Analyst le 28 Mai 2017
Modifié(e) : Image Analyst le 28 Mai 2017
Use
axis on
To put on a spatial scale. Use colorbar() to show the intensity scale.

Community Treasure Hunt

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

Start Hunting!

Translated by