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

조회 수: 4 (최근 30일)
Adnan
Adnan 2025년 3월 23일
댓글: Adnan 2025년 3월 23일
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