Difference between revisions of "WAPlots.AddDataset"

From ReliaWiki
Jump to navigation Jump to search
Line 2: Line 2:
 
Add a WeibullDataSet or ALTADataSet to the WAPlot Class.
 
Add a WeibullDataSet or ALTADataSet to the WAPlot Class.
  
 
+
== Weibull Method Syntax ==
== Weibull Declaration  ==
 
 
 
 
{{APIName|AddDataSet(}}
 
{{APIName|AddDataSet(}}
 
{{APIPrefix|ByVal}}
 
{{APIPrefix|ByVal}}
Line 13: Line 11:
 
{{APIComment|Adds Weibull data set for subsequent plotting.}}
 
{{APIComment|Adds Weibull data set for subsequent plotting.}}
  
== ALTA Declaration  ==
+
== ALTA Method Syntax ==
 
 
 
{{APIName|AddDataSet(}}
 
{{APIName|AddDataSet(}}
 
{{APIPrefix|ByVal}}
 
{{APIPrefix|ByVal}}

Revision as of 17:59, 18 September 2013


Add a WeibullDataSet or ALTADataSet to the WAPlot Class.

Weibull Method Syntax

AddDataSet( ByVal DataSet As WeibullDataSet )

Adds Weibull data set for subsequent plotting.

ALTA Method Syntax

AddDataSet( ByVal DataSet As ALTADataSet )

Adds ALTA data set for subsequent plotting.

Parameters

DataSet The variable name of the WeibullDataSet or ALTADataSet object to add to the collection.

Usage Example

Create a new Weibull/ALTA Plot instance.

       Dim WeibullALTAPlot As New WAPlots

Declare a WeibullDataSet. See New WeibullDataSet for additional details.

       Dim WDS as New WeibullDataSet

Add values to the raw data. See AddFailure for additional details.

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

Add the WeibullDataSet to the WAPlots.

       WeibullALTAPlot.AddDataset(WDS)