How to overlay a curve over histogram?
조회 수: 124(최근 30일)
New to Matlab so sorry if the question is simple!
I have plotted a histogram with the following code:
data = csvread('testformatlab.csv')
col1 = data(:,8); %all rows in column 1
col2 = data(:,14);
X = (col1)./(col2);
*I would like to overlay a curve to the histogram, similar to the red one in the attached image. My current histogram is shown in the blue image.