How can I display different boxplots side by side in the same figure (matlab)? -


i have 4 different vectors in data. want create 4 different boxplots each 1 of them , display them in same figure,side side can compare them. possible ? subplot not fit in case , have tried hold on doesn't work either (at least way it). quite new in matlab please me figure out ?

thanks

first_plot=100*scores./counts;  second_plot=100*fscores./fcounts;  third_plot=100*gscores./gcounts;  fourth_plot=100*pscores./pcounts; 

you can this:

first put data in 1 matrix:

f(:,1) = a; f(:,2) = b; ... boxplot(f(:,1:2));xlabel('sa - mp') 

it becomes following picture:

enter image description here


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -