Side by side boxplots
Show older comments
Hi Guys,
I've got a .mat file which has two data sets that load in as 35x1 doubles.
I would like to create a graph that has the box plots of each data set next to each other.
I've had a look at the boxplots function on the help centre page and browsed the forums for similar problems, of which there are some, but I am having trouble understanding how to do this.
I thought I could just use boxplot(x, y) but this produces a graph that looks like this:

Any help to get something which looks like this (see below) would be much appreciated.

Note that this is just an example that I found on google but it gives an idea of what I am trying to achieve.
Thank you
Accepted Answer
More Answers (1)
Categories
Find more on Box Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!