Creating multiple drawers with the same scale in Matlab

I would like to build several separate boxplot in Matlab, but give them the same scale so that readers are not misled by comparing them side by side.

I tried using the datalim parameter, but it only imposes an upper limit on the boxplot field, but does not stretch it if the data does not reach it.

Any ideas?

+7
matlab boxplot
Feb 16 2018-11-18T00:
source share
1 answer

Try linkaxes (). This will give them the same scale and synchronize them if the user zooms out or something else zooms out.

+8
Feb 16 '11 at 15:43
source share



All Articles