change the position of boxes in boxplot in matlab

조회 수: 4 (최근 30일)
John Abh
John Abh 2017년 3월 7일
after running the two different code in two different editor in mat lab I got two separate fig. My first question is how to plot these two separate fig. together in such a way that position one of single graph(together) should be filled by the box of first fig and second position should be filled by the box from second fig and similarly for third and fourth box,here position is w.r.t x-axis .
k=[2.3844 379.8351 990.1233; .1889 9.3867 54.350] ; l=k'; boxplot(l)
%% second code
a=[0.1890, 9.3867,54.3505;1.8792,27.5678,86.1677]; b=a'; boxplot(b)

답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by