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

6 visualizzazioni (ultimi 30 giorni)
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)

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Graphics Object Programming in Help Center e File Exchange

Prodotti


Release

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by