WAPlots.AddDataset: Difference between revisions
Jump to navigation
Jump to search
Albert Szeto (talk | contribs) m (moved AddDataset to WAPlots.AddDataset) |
Albert Szeto (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Template:APIClass|WAPlots Class|WAPlots}} | {{Template:APIClass|WAPlots Class|WAPlots}} | ||
Add a WeibullDataSet or ALTADataSet to the WAPlot Class. | |||
== Declaration == | == Declaration == | ||
{{APIName|AddDataSet(}} | {{APIName|AddDataSet(}} | ||
{{APIPrefix|ByVal}} | {{APIPrefix|ByVal}} | ||
{{APIName|DataSet}} | {{APIName|DataSet}} | ||
{{APIPrefix|As}} | {{APIPrefix|As}} | ||
{{APIName|[[WADataSet]]}} | {{APIName|[[WADataSet]] )}} | ||
{{APIComment|Adds Weibull or ALTA data set for subsequent plotting.}} | {{APIComment|Adds Weibull or ALTA data set for subsequent plotting.}} | ||
== Parameters == | |||
'''DataSet''' | |||
The variable name of the WeibullDataSet or ALTADataSet object to add to the collection. | |||
== Usage Example == | |||
{{APIComment|Create a new Weibull/ALTA Plot instance.}} | |||
Dim WeibullALTAPlot As New WAPlots | |||
{{APIComment|Declare a WeibullDataSet. See [[New WeibullDataSet]] for additional details.}} | |||
Dim WDS as New WeibullDataSet | |||
{{APIComment|Add values to the raw data. See [[WeibullDataSet.AddFailure]] for additional details.}} | |||
WDS.AddFailure(1, 1) | |||
WDS.AddFailure(2, 1) | |||
WDS.AddFailure(3, 1) | |||
{{APIComment|Add the WeibullDataSet to the WAPlots.}} | |||
WeibullALTAPlot.AddDataset(WDS) |
Revision as of 00:45, 13 September 2013
Add a WeibullDataSet or ALTADataSet to the WAPlot Class.
Declaration
AddDataSet( ByVal DataSet As WADataSet )
Adds Weibull or 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)