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

3 views (last 30 days)
Janna Hinchliff
Janna Hinchliff on 19 Feb 2019
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?

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by