Hi everyone. I found out how to freeze the colorbar as well. Actually, I got my answer from the test_main.m file of this submission. You should download cbfreeze.m and cbhandle.m (by Carlos Adrian Vargas Aguilera) and freeze your colorbar with these functions. Just make sure to download cbhandle.m as well or MATLAB will give you some handle errors.
Hi, I am a bit confused with the multiple comparison part. If I have 3 treatments and I get a matrix like [0 0 0;1 0 0;0 1 0], then it means that there is a significant difference between treatments (1,2) & (2,3)?
The reason I am this confused is that I apply both friedman of matlab and myfriedman on a set of random 10x3 matrices(say 100 times). Everytime that MATLAB's friedman gives a p-value less than 0.05, myfriedman also reports a significance (they seem to give the same result up to this point). But then the significance difference is different between the multcompare of MATLAB (with Tukey as ctype) and the one in myfriedman. For example, myfriedman gives a difference between (1,2) whereas MATLAB's multcompare gives a difference between (2,3).
I know that the two files use different post-hoc methods but I assumed that one should only be a more conservative form of the other. So, I expected the group differences result of one of these methods to be a subset of the other one not almost completely different group differences.