Are multcompare plots compatible with subplots?
Show older comments
Does anyone know if it is possible to have the graphs from multcompare be plotted in subplots?
- load carsmall
- [p,t,st] = anova1(MPG,Origin,'off');
- [p,t,st2] = anova1(Displacement,Origin,'off');
- figure
- [c,m,h,nms] = multcompare(st);
- figure
- [c,m,h,nms] = multcompare(st2);
The script above generates 2 graphs. I have tried every which way to get the graphs to be in a 2,1 subplot but can't do it.
Accepted Answer
More Answers (1)
Sergio
on 24 Jul 2013
0 votes
But meansgraph.m is a Read Only file. How can I delet that line?
2 Comments
Tom Lane
on 25 Jul 2013
If you control the disk where it is stored, you may just be able to overwrite the old file. Otherwise you may have to make your own copies of multcompare, meansgraph, and perhaps some others, and place them in your own area.
Kamil Antos
on 20 May 2019
You can create local version of meansgraph.m with commented 'clf'. Matlab will use this file.
Categories
Find more on Analysis of Variance and Covariance 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!