how can I change y-axis without changing figure' values?

5 views (last 30 days)
Hi,
I have a figure_#1 given here. However, I want to have Figure_#2. I want to change only numbers of y-axis without changing anything (see red colour!). Can you please help me with that ? Thanks.
This is what I used.
figure;
imagesc(t,f, ST_normalized)

Accepted Answer

Walter Roberson
Walter Roberson on 23 Mar 2025
imagesc(t, fliplr(f), ST_normalized)
ax = gca;
ax.YDir = 'normal';

More Answers (0)

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!