Plot on Boxplot on the same graph
Show older comments
Hello potential ansewrer,
I have let's say 9 differnent monthly matrices, days*hours (e.g. January 31*24).
Now I have calculated the hourly averages through the 31 days (=1*24 values) for each of the 4 matrices.
Then I am try to plot on the same graph, a boxplot of each month and by using hold on its hourly averages.
Of course, matlab does not accept this as monthly boxplots appear on position x=1 and its hourly averages appear x=1:24 so there are not consistent.
As the periods are the same I do not know if the use of multiple x-axis would help.
Boxplots:

Hourly Averages:

Any help :)
Accepted Answer
More Answers (0)
Categories
Find more on Data Distribution 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!