Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Matlab でいくつかの異なる boxplot をプロットしたいのですが、それらを同じスケールにして、読者がそれらを並べて比較して誤解されないようにします。
datalim オプションを使用してみましたが、boxplot に上限を課すだけで、データが上限に達しない場合は拡張しません。
何か案は?
linkaxes() を試してください。これにより、それらは同じ縮尺になり、ユーザーがズームしたり、他の何かが縮尺を変更したりしても、同期が維持されます。