WAPlots.Clear: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
         Dim WDS as New WeibullDataSet
         Dim WDS as New WeibullDataSet


{{APIComment|Add values to the raw data. See [[WeibullDataSet.AddFailure]] for additional details.}}
{{APIComment|Add values to the raw data. See [[WeibullDataSet.AddFailure|AddFailure]] for additional details.}}
         WDS.AddFailure(1, 1)
         WDS.AddFailure(1, 1)
         WDS.AddFailure(2, 1)
         WDS.AddFailure(2, 1)

Revision as of 23:40, 13 September 2013



Clear the data set information in the WAPlots instance.

Declaration

Public Sub Clear()

Removes all data sets from the plotting 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)

Clear the datasets in WAPlots.

       WeibullALTAPlot.Clear