WAPlots.AddDataset: Difference between revisions
Jump to navigation
Jump to search
Albert Szeto (talk | contribs) No edit summary |
Albert Szeto (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
Add a WeibullDataSet or ALTADataSet to the WAPlot Class. | Add a WeibullDataSet or ALTADataSet to the WAPlot Class. | ||
== Declaration == | |||
== Weibull Declaration == | |||
{{APIName|AddDataSet(}} | |||
{{APIPrefix|ByVal}} | |||
{{APIName|DataSet}} | |||
{{APIPrefix|As}} | |||
{{APIName|[[WeibullDataSet]] )}} | |||
{{APIComment|Adds Weibull data set for subsequent plotting.}} | |||
== ALTA Declaration == | |||
{{APIName|AddDataSet(}} | {{APIName|AddDataSet(}} | ||
Line 8: | Line 19: | ||
{{APIName|DataSet}} | {{APIName|DataSet}} | ||
{{APIPrefix|As}} | {{APIPrefix|As}} | ||
{{APIName|[[ | {{APIName|[[ALTADataSet]] )}} | ||
{{APIComment|Adds | {{APIComment|Adds ALTA data set for subsequent plotting.}} | ||
== Parameters == | == Parameters == | ||
Line 29: | Line 40: | ||
{{APIComment|Add the WeibullDataSet to the WAPlots.}} | {{APIComment|Add the WeibullDataSet to the WAPlots.}} | ||
WeibullALTAPlot.AddDataset(WDS) | '''WeibullALTAPlot.AddDataset(WDS)''' |
Revision as of 00:47, 13 September 2013
Add a WeibullDataSet or ALTADataSet to the WAPlot Class.
Weibull Declaration
AddDataSet( ByVal DataSet As WeibullDataSet )
Adds Weibull data set for subsequent plotting.
ALTA Declaration
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 WeibullDataSet.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)