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

6 次查看(过去 30 天)
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)

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Object Programming 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by