Cornerplot takes a nSamples-by-nDimensions array, and makes density plots of every combination of the dimensions.
This is especially useful when using MCMC; you can see how the parameters in your model interact, and whether there are any tradeoffs between them.
Inspired by triangle.py (https://github.com/dfm/triangle.py) by Dan Foreman-Mackey (http://dan.iel.fm/).
Can you give a attached example to this code? I am a new one, if you can, please send to my email firstname.lastname@example.org.
Really nice, thank you.
Nice catch, Ben. Fixed it. Thanks!
I found a small bug: The diagonal histograms do not respect user-specified bounds.
I fixed it with the following insertion at line 100:
data2hist = data(:,i);
data2hist(data2hist < bounds(1,i) | data2hist > bounds(2,i)) = NaN;
[n,x] = hist(data2hist, hist_bins);
new histogram style