WAPlots.Clear: Difference between revisions
Jump to navigation
Jump to search
Albert Szeto (talk | contribs) m (moved Clear to WAPlots.Clear) |
Albert Szeto (talk | contribs) 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. | |||
== Declaration == | == Declaration == | ||
Line 6: | Line 8: | ||
{{APIName|Clear()}} | {{APIName|Clear()}} | ||
{{APIComment|Removes all data sets from plotting collection.}} | {{APIComment|Removes all data sets from the plotting 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) | |||
{{APIComment|Clear the datasets in WAPlots.}} | |||
'''WeibullALTAPlot.Clear''' |
Revision as of 00:50, 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 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)
Clear the datasets in WAPlots.
WeibullALTAPlot.Clear