WAPlotType Enumeration: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Template:APIClass|Global_Plots|Global Plots}}
{{Template:APIClass|Global_Plots|Global Plots}}
{{Template:WAPlotType.Cmt}}
{{Template:WAPlotType.Cmt}}
== Syntax==


{{APIPrefix|Public Enum}}
== Members==
{{APIName|WAPlotType}}


== Formatted Usage Example 1 ==
* Probability          {{APIComment|Probability plot}}
* 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}}


<div style="margin-right: 150px;">
== Usage Example ==
{{Template:WAPlotType}}
</div>
 
== Formatted Usage Example 2 ==
This example shows the creation of a probability plot.
This example shows the creation of a probability plot.



Revision as of 21:14, 3 March 2014


Specifies the plot type for a Weibull++/ALTA plot.

Members

  • Probability Probability plot
  • Reliability Reliability vs. time plot
  • Unreliability Unreliability vs. time plot
  • Pdf Probability density function
  • FailureRate Failure rate vs. time plot
  • Contour Contour plot
  • FSHistogram Failures/suspensions histogram
  • PdfHistogram pdf histogram
  • FSPie Failures/suspensions timeline
  • FSTimeline Failures/suspensions timeline
  • UseLevelProbability Use level probability plot
  • LifeVsStress Life vs. stress plot
  • StdDevVsStress Standard deviation vs. stress plot
  • AFVsStress Acceleration factor vs. stress
  • StandardResiduals Standard residuals plot
  • CoxSnellResiduals Cox-Snell residuals plot
  • StandardVsFittedValue Standard vs. fitted value plot

Usage Example

This example shows the creation of a probability plot.

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)

Calculate the WeibullDataSet. See CalculateBestFit for additional details.

       WDS.Calculate

Add the WeibullDataSet to the WAPlots.

       WeibullALTAPlot.AddDataset(WDS)

Create the WAPlot. In this example, it will create a Probability plot.

       Dim FinalPlot As Bitmap = WeibullALTAPlot.CreatePlot(WAPlotType.Probability)