WAPlots.CreatePlot

Create the plot based on the WeibullDataSet and/or the ALTADataSets entered into the WAPlots. Returns a bitmap of the plot.

Method Syntax
=

=

=

Parameters
PlotType Set the type of plot desired, of the WAPlotType enum.

UserSettings Sets the plot settings via an instance of the WAPlotSettings class.

Width Set the width, in pixels, of the finished plot.

Height Set the height, in pixels, of the finished plot.

Usage Example
Dim WeibullALTAPlot As New WAPlots

Dim WDS As New WeibullDataSet

WDS.AddFailure(1, 1) WDS.AddFailure(2, 1) WDS.AddFailure(3, 1)

WDS.Calculate

WeibullALTAPlot.AddDataset(WDS)

Dim FinalPlot As Bitmap = WeibullALTAPlot.CreatePlot(WAPlotType.Probability)