WAPlots.CreatePlotVB6

Create the plot based on the WeibullDataSet and/or the ALTADataSet entered into the WAPlots. Returns an IPicture object of the plot for VBA/VB6.

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.CreatePlotVB6(WAPlotType.Probability)