How do I get the coordinates of a fit line using makedist

1 回表示 (過去 30 日間)
Janna Hinchliff
Janna Hinchliff 2019 年 2 月 19 日
I'm plotting a lognormal distribution where I use the command
[fit confidence] = lognfit(censoredFailTime,[],censored);
to fit a data set and then get the mean and standard deviation using
fitplot = makedist('lognormal','mu',fit(1),'sigma',fit(2));
To plot the data I'm using
plotprob = probplot('lognormal',censoredFailTime,censored,'noref');
probplot(gca,fitplot)
but I also want to extract the coordinates of the fit line as they appear on the graph. How can I get these coordinates from this?

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by