So far I have this;
Disp_X = X - mean(X);
hist(Disp_X);
h = hist(Disp_X);
h.BinWidth = 0.001;
the h.BinWidth
was working before to make my bars much narrower, but now I am getting this error message;
"Field assignment to a non-structure array object."
I don't really understand why that wasn't happening before, and now it is.
I am also having a bit of an issue trying to plot two histograms onto one plot. I have frequency of distance from mean in both x and y, and would like them to be plotted on the same graph.