File Exchange

image thumbnail

Probability Distribution Plotter

version (188 KB) by Andrew O'Connor
Plots pdf, cdf & hazard rate of probability distributions and exports as Excel Chart, pdf, jpg


Updated 06 Sep 2011

View Version History

View License

Probability Distribution Plotter (ProbDistPlot) is a GIU tool which plots statistical distributions commonly used in reliability engineering. The program plots the probability distribution function (pdf), the cumulative distribution function (cdf) and the hazard rate of each distribution. The user can gain a better understanding of the affect the distribution parameters have on the distribution but interactively changing distribution parameters with slides.

ProbDistPlot is also able to create quick and easy figures by allowing multiple distributions to be plotted on the one figure with automatic legend annotations (updating parameter values), latex and tex labels, and export to excel charts, clipboard, jpg, pdf, .mat and the printer. Exporting to excel actually transfers the data into an excel spreadsheet and creates an organic Excel chart which can be further manipulated in Excel.

Yair M. Altman, altmany(at) is acknowledged as the author of the function findobj.m which allowed the properties of the slider objects to be modified.

This software uses distributions from the book, O’Connor, A.N, Probability Distributions Used In Reliability Engineering, RIAC, 2011.

Programmed and Copyright by Andrew O'Connor:

Change log:
1.0 - 12 Apr 2010: First Version.

Cite As

Andrew O'Connor (2021). Probability Distribution Plotter (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (10)

cuong nguyen


This software was very useful . thank you sir andrew for your kind gesture in helping me out to plot the dirichlet pdf and also for your timely reply to all my mails


Andrew O'Connor

Hi Hisham, Y values are dependant on X values. You can change the X values which are displayed by changing the axis limits. This can be done with the slider, or by typing them into the text edit boxes. If this isn't suitable and you need the exact Y answer (i.e not graphically) then you can run any of the functions directly from the folder "New Functions"


How can insert X and Y values

Erdal Bizkevelci



Dear Occa, your files are very helpful. Your prompt response to emails is impressive. Keep the great work you are already doing!


This is a great GUI! It helped me alot at my graduation paper. Thank you Mr. Occa O'Connor for this!

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!