开发者

Creating several boxplots with the same scale in Matlab

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜