WAPlots.Clear: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
m (Protected "WAPlots.Clear" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
No edit summary
Line 1: Line 1:
{{Template:APIClass|WAPlots Class|WAPlots}}
{{Template:APIClass|WAPlots Class|WAPlots}}


Clear the data set information in the WAPlots instance.
Clear the data set information in the [[WAPlots Class|WAPlots]] instance.


== Method Syntax ==
== Method Syntax ==

Revision as of 23:21, 22 January 2014



Clear the data set information in the WAPlots instance.

Method Syntax

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