Probability plot HELP!!!

4 次查看(过去 30 天)
matteo
matteo 2016-6-15
回答: Peter Cook 2016-6-15
Hello,
I've got two 12x24 matrices, which represent the 12 months of the year and the 24 hours of the day and which are depicted by the circles on the figure below. Now, I'd like to add the plots of the 2 gaussian probabilities as in figure below, and also add the concentric curves around the circles, may I have an help to do that?
thank you for your time.
Regards,
Mat

采纳的回答

Peter Cook
Peter Cook 2016-6-15
To fit a gaussian contour to your 2d data, you could try fitgmdist.
To plot traces of the mean & max pdfs, compute the mean and std of the measurement of interest (I can't tell from this figure if its supposed to be pressure or temperature) then plot the pdf.
mew = mean(x); sig = std(x);
y = 1/sqrt(2*pi*sig^2)*exp(-(x-mew).^2/2/sig^2);
plot([y y(1)],[x x(1)],'k--')

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Scatter Plots 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by