How to specify histogram's x and y axis
87 ビュー (過去 30 日間)
古いコメントを表示
I have 2 subplots in a figure, both of them histograms.
1) I'd like the x-axis of the left subplot to go from 0 to 6 like the subplot on the right. I'm sure there's an easy way to do this, but setting the 'XTick' property didn't work.
2) I'd like to extend the y axis on both subplots to go up to 22, but again, manually setting 'YTick' doesn't do it.
0 件のコメント
採用された回答
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Histograms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!