WAPlotType Enumeration: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Template:APIClass|Global_Plots|Global Plots}}
{{Template:API}}{{Template:APIBreadcrumb}}
{{Template:WAPlotType.Cmt}}


== Members==


* Probability          {{APIComment|Probability plot}}
Specifies the plot type for an associated [[WAPlots Class|WAPlots]] object.
* Reliability          {{APIComment|Reliability vs. time plot}}
* Unreliability        {{APIComment|Unreliability vs. time plot}}
* Pdf                  {{APIComment|Probability density function}}
* FailureRate          {{APIComment|Failure rate vs. time plot}}
* Contour              {{APIComment|Contour plot}}
* FSHistogram          {{APIComment|Failures/suspensions histogram}}
* PdfHistogram        {{APIComment|''pdf'' histogram}}
* FSPie                {{APIComment|Failures/suspensions timeline}}
* FSTimeline          {{APIComment|Failures/suspensions timeline}}
* UseLevelProbability  {{APIComment|Use level probability plot}}
* LifeVsStress        {{APIComment|Life vs. stress plot}}
* StdDevVsStress      {{APIComment|Standard deviation vs. stress plot}}
* AFVsStress          {{APIComment|Acceleration factor vs. stress}}
* StandardResiduals    {{APIComment|Standard residuals plot}}
* CoxSnellResiduals    {{APIComment|Cox-Snell residuals plot}}
* StandardVsFittedValue{{APIComment|Standard vs. fitted value plot}}


== Usage Example ==
== Members==
This example shows the creation of a probability plot.
{| {{APITableEnum}}
 
|-
{{APIComment|Create a new Weibull/ALTA Plot instance.}}
| style="width: 150px;"|Probability||style="width: 80px;"|0||Probability plot.
        Dim WeibullALTAPlot As New WAPlots
|-
|Reliability||1||Reliability vs. time plot.
|-
|Unreliability||2||Unreliability vs. time plot.
|-
|Pdf||3||Probability density function.
|-
|FailureRate||4||Failure rate vs. time plot.
|-
|Contour||5||Contour plot.
|-
|FSHistogram||6||Failures/suspensions histogram.
|-
|FSPie||7||Failures/suspensions timeline.
|-
|FSTimeline||8||Failures/suspensions timeline.
|-
|UseLevelProbability||12||Use level probability plot.
|-
|LifeVsStress||13||Life vs. stress plot.
|-
|StdDevVsStress||14||Standard deviation vs. stress plot.
|-
|AFVsStress||15||Acceleration factor vs. stress.
|-
|StandardResiduals||16||Standard residuals plot.
|-
|CoxSnellResiduals||17||Cox-Snell residuals plot.
|-
|StandardVsFittedValue||18||Standard vs. fitted value plot.
|-
|PdfHistogram||777||''pdf'' histogram.
|}


{{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|AddFailure]] for additional details.}}
        WDS.AddFailure(1, 1)
        WDS.AddFailure(2, 1)
        WDS.AddFailure(3, 1)


{{APIComment|Calculate the WeibullDataSet. See [[WeibullDataSet.CalculateBestFit|CalculateBestFit]] for additional details.}}
        WDS.Calculate


{{APIComment|Add the WeibullDataSet to the WAPlots.}}
        WeibullALTAPlot.AddDataset(WDS)


{{APIComment|Create the WAPlot. In this example, it will create a Probability plot.}}
==See Also==
        Dim FinalPlot As Bitmap = WeibullALTAPlot.CreatePlot(WAPlotType.Probability)
*[[WAPlots.CreatePlot|WAPlots.CreatePlot Method]]
*[[WAPlots.CreatePlotVB6|WAPlots.CreatePlotVB6 Method]]

Latest revision as of 22:54, 20 April 2016

APIWiki.png


Member of: SynthesisAPI


Specifies the plot type for an associated WAPlots object.

Members

Name Value Description
Probability 0 Probability plot.
Reliability 1 Reliability vs. time plot.
Unreliability 2 Unreliability vs. time plot.
Pdf 3 Probability density function.
FailureRate 4 Failure rate vs. time plot.
Contour 5 Contour plot.
FSHistogram 6 Failures/suspensions histogram.
FSPie 7 Failures/suspensions timeline.
FSTimeline 8 Failures/suspensions timeline.
UseLevelProbability 12 Use level probability plot.
LifeVsStress 13 Life vs. stress plot.
StdDevVsStress 14 Standard deviation vs. stress plot.
AFVsStress 15 Acceleration factor vs. stress.
StandardResiduals 16 Standard residuals plot.
CoxSnellResiduals 17 Cox-Snell residuals plot.
StandardVsFittedValue 18 Standard vs. fitted value plot.
PdfHistogram 777 pdf histogram.



See Also