MATLAB Answers

change the position of boxes in boxplot in matlab

22 views (last 30 days)
John Abh
John Abh on 7 Mar 2017
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 Comments

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by