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

6 vues (au cours des 30 derniers jours)
Adnan
Adnan le 23 Mar 2025
Commenté : Adnan le 23 Mar 2025
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)

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Graphics Object Programming dans Help Center et File Exchange

Produits


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by