Rank: 428566 based on 0 downloads (last 30 days) and 0 file submitted
photo

Chris McGraw

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Chris View all
Updated File Comments Rating
10 Jun 2014 barwebpairs (pair bars within groups and between groups) Add pairing brackets to a bar plot (e.g. to indicate statically significant differences) Author: Joris Lambrecht

Nice code, just what I was looking for.

I noted a bug, using Matlab 2013b 64-bit on Windows 7, also Barweb v2.3. The function doesn't accurately target the 'within-group' bars that I wanted. I tracked it down to the fact that the variable 'posX' which is received from the handles object generated by the barweb function appears to be corrupted -- the matrix is twice as long as necessary and every other element is something that the author of barwebpairs must not have intended.

I corrected it by adding 'posX = posX(1:2:end);' after the initial posX declaration, and everything worked fine after that. I did not test out 'between-group' pairs, so I can't say whether it broke something else, but it certainly fixed something that wasn't working.

Again, otherwise very nice and convenient.

28 Jun 2013 freezeColors / unfreezeColors Use multiple colormaps per figure! Version 2, now works for many types of objects, not only images. Author: John Iversen

Great code! One issue I noticed though is that representations of logical/binary data (at least using imagesc function) cannot be frozen using 'freezeColor' -- you must convert them to non-binary for it to have its effect, e.g. double(myBinaryData). No error is thrown or generated if binary data is used, it simply fails to freeze (took me 20 minutes to determine what was going wrong). This is not the first code I've noticed that behaves oddly (unexpected results, no errors generated) around logicals, so it might be more of a Matlab issue than the code itself.

28 Jun 2013 freezeColors / unfreezeColors Use multiple colormaps per figure! Version 2, now works for many types of objects, not only images. Author: John Iversen

22 Mar 2012 linstats 2006b linear multivariate statistics Author: Michael Boedigheimer

Just to be certain, I wanted to ask. I can't determine whether the ENCODE function can specify a non-Normal "link" for the glm -- it looks like it assumes Normal distribution for the error term.

Contact us