How to make a common color bar?
1 回表示 (過去 30 日間)
古いコメントを表示
I want to make a common color bar for 4 subplots. Any suggestions would be appreciated.
0 件のコメント
採用された回答
Bjorn Gustavsson
2019 年 10 月 2 日
This is how I do this neatly:
subplot(1,1,1)
cbh = colorbar_labeled('');
subplot(2,2,3)
plot([0 2])
subplot(2,2,2)
imagesc(peaks(123))
colorbar_labeled is an old function someone gifted me. This works very conveniently.
HTH
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!