WAPlots.AddDataset

From ReliaWiki
Jump to navigation Jump to search


Adds the specified WeibullDataSet or ALTADataSet object that the plot will be based on.

Syntax

  • AddDataSet( DataSet As WADataSet )

Parameters

DataSet: The name of the WeibullDataSet or ALTADataSet object that the plot will be based on.

Usage Example

 'Create a new WAPlots object. 
 Dim WeibullALTAPlot As New WAPlots
 
 'Declare a WeibullDataSet. See WeibullDataSet. 
 Dim WDS as New WeibullDataSet
 
 'Add values to the data set. See AddFailure. 
 WDS.AddFailure(1, 1)
 WDS.AddFailure(2, 1)
 WDS.AddFailure(3, 1)
 
 'Add the WeibullDataSet to the WAPlots. 
 WeibullALTAPlot.AddDataset(WDS)