Does anyone know if it is possible to have the graphs from multcompare be plotted in subplots?
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.
You are right that the code clears the current figure before plotting, so setting up a subplot won't help.
I just tried deleting the "clf" line from meansgraph.m, and it seemed to work okay. It looks a little funny since the function puts up a graph title instructing you to click on a group, and this instruction then appears over each graph, but the mouse operations work as they should.
You could try deleting this line.