Skip to content

A function which additionally to composing a MATLAB classic boxplot automatically creates extra lines representing significant between-group differences

Notifications You must be signed in to change notification settings

t0mka14/Matlab_boxplot_groupdiff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Boxplots differences

Compose the classic MATLAB boxplot with included between-group differences shown as lines with stars above.

Usage

In a given figure environment call

boxplotdifferences(data, groups, diffs, labels)

where the parameters are:

  • data: the data in the same format as classic boxplot
  • groups: group identifiers in the same format as classic boxplot
  • diffs: (MxN double matrix) info about the significant differences. Each row represents a single difference. First column is the position of the group A, second column the position of group B and third column is the degree of significance (1 - '*', 2 - '**', 3 - '***'). Example:
diffs = [1 3 1; 1 4 2; 3 4 3];
  • labels: group labels to appear in the boxplot in the same format as a classic boxplot. Example:
labels = {'group a', 'group b', 'group c'};

License & ownership

Developed by Vojtech Illner at FEE CTU in Prague

About

A function which additionally to composing a MATLAB classic boxplot automatically creates extra lines representing significant between-group differences

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 100.0%