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

6 visualizaciones (últimos 30 días)
Adnan
Adnan el 23 de Mzo. de 2025
Comentada: Adnan el 23 de Mzo. de 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)

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Graphics Object Programming en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by