imagescのy軸を対数スケールにする方法

9 visualizzazioni (ultimi 30 giorni)
Yuki Koyama
Yuki Koyama il 17 Nov 2021
imagescのy軸を対数スケールにする方法を教えて下さい。
例えば以下のようにすると、軸の表示は対数ですが、タイルは線形に配置され上手くできません。
x = [100 1000];
y = [100 1000];
C = [0 2 4 6; 8 10 12 14; 16 18 20 22];
imagesc(x,y,C)
set(gca,"Yscale","log")
ylim([50 2000])
meshやsurfで行えば所望のことは出来ますが、大きいデータで実行すると動作が重くなるのでimagescで出来る方法を探しています。

Risposte (0)

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!