WAPlots.CreatePlot

Returns a bitmap object that represents the plot. (VB.NET only)

The data set must first be analyzed (with either the WeibullDataSet.Calculate or ALTADataSet.Calculate method) before it can be plotted.

Syntax
.CreatePlot(PlotType, UserSettings, Width, Height)

Parameters
PlotType
 * Required. The type of plot to create. Can be any WAPlotType constant.

UserSettings
 * Optional. The WAPlotSettings object that represents the plot's settings.

Width
 * Optional. Integer. The plot width. Default value = 1150 pixels.

Height
 * Optional. Integer. The plot height. Default value = 800 pixels.

Example
VB.NET WDS WeibullDataSet WDS.AddFailure(1, 1) WDS.AddFailure(2, 1) WDS.AddFailure(3, 1) WDS.Calculate MyPlot WAPlots MyPlot.AddDataset(WDS) PictureBox1.Image = MyPlot.CreatePlot(WAPlotType.Probability)