WAPlots.Clear: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| John Leavitt (talk | contribs) No edit summary | Chris Kahn (talk | contribs) No edit summary | ||
| Line 1: | Line 1: | ||
| {{Template:APIClass|WAPlots Class|WAPlots}} | {{Template:APIClass|WAPlots Class|WAPlots}} | ||
| {{Template:WAPlots.Clear.Cmt}} | |||
| Clear  | |||
| == Method Syntax == | == Method Syntax == | ||
| *Clear() | |||
| == Usage Example == | == Usage Example == | ||
Revision as of 20:59, 3 March 2014
 
Removes the added WeibullDataSet/ALTADataSet object. (Required before a new data set can be added.)
Method Syntax
- Clear()
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
