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

2 views (last 30 days)
Yuki Koyama
Yuki Koyama on 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で出来る方法を探しています。

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!