フィルターのクリア

How to scale vertical axis without erasing boxplot horizontal axis?

1 回表示 (過去 30 日間)
Daniel Bridges
Daniel Bridges 2018 年 3 月 9 日
編集済み: Daniel Bridges 2018 年 3 月 9 日
I want the same vertical axis scale so the two subplot can be directly compared more easily. axis([-Inf Inf 0 6]) fails to preserve the horizontal axis boxplot grouping text. How do we rescale the vertical axes without erasing the horizontal text?

採用された回答

Daniel Bridges
Daniel Bridges 2018 年 3 月 9 日
編集済み: Daniel Bridges 2018 年 3 月 9 日
ylim([0 6]) after the boxplot command allows one to edit the vertical axis scale without touching the horizontal axis.

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by