File Exchange

image thumbnail

boxPlots

version 1.1.0.0 (8.36 KB) by Fabricio Castro
boxplots

24 Downloads

Updated 15 Mar 2018

View License

This function generates a nice looking boxplot graph.

Cite As

Fabricio Castro (2020). boxPlots (https://www.mathworks.com/matlabcentral/fileexchange/66442-boxplots), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (6)

Radim

Does not work for smaller dataset.
Fix:
- for i=1:Sets
- fLabel=[fLabel,[featureLabels(i),featureLabels(i),featureLabels(i)]];
- end

+ for i=1:nFeaturesL
+ fLbl(1:Sets) = featureLabels(i);
+ fLabel=[fLabel,[fLbl]];
+ end

Naina

Here is the data for 4 data sets instead of all 15. Can you please help me to run your code on it, to plot the boxplots (3 vertical bars), for 4 data feature/datasets.?

Because when i run the code it also plots the values hogher than 100 on y-axis, which isn't true.

I get an error but I want to plot three datasets each with dim (144x72);

Cai Jie Cai

If some bug raise please leave a comment bellow and you will be reported as soon as possible.

Enliang Guo

Undefined function or variable 'convertColorRange'.

Error in boxPlots (line 103)
'FaceColor',convertColorRange(colors(i,:)),...

Updates

1.1.0.0

a bit of bugs

1.1.0.0

xlabel bug fixed.

1.0.0.0

Missed convertColorRange function added to the boxPlots function bottom.

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux