开发者

Creating several boxplots with the same scale in Matlab

开发者 https://www.devze.com 2023-02-11 15:32 出处:网络
I\'d like to plot several distinct boxplot in Matlab, but give them the same scale so that readers do not get misled by comparing them side by side.

I'd like to plot several distinct boxplot in Matlab, but give them the same scale so that readers do not get misled by comparing them side by side.

I've t开发者_开发技巧ried using the datalim option, but it only imposes an upper limit to the boxplot, but does not stretch it if the data doesn't reach it.

Any ideas?


Try linkaxes(). That will give them the same scale, and keep them synchronized if the user zooms or something else changes the scale.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号