WAPlotSettings Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 51: Line 51:
*AdjustMLEPoints (as ''boolean'') {{APIComment|Whether to adjust MLE points.}}
*AdjustMLEPoints (as ''boolean'') {{APIComment|Whether to adjust MLE points.}}
*StraightenGammaLine (as ''boolean'') {{APIComment|Whether to streighten the probability line for Gamma and G-Gamma distributions.}}
*StraightenGammaLine (as ''boolean'') {{APIComment|Whether to streighten the probability line for Gamma and G-Gamma distributions.}}
=Usage Example=
{{APIComment|'Create a new WAPlotSettings object.}}
  Dim NewPlotSettings As New WAPlotSettings
 
{{APIComment|'Set the plot settings.}}
  NewPlotSettings.UserName = ""
  NewPlotSettings.UserCompany = ""
  NewPlotSettings.AutoscaleX = True
  NewPlotSettings.AutoscaleY = True
  NewPlotSettings.Xmin = 0
  NewPlotSettings.Xmax = 0
  NewPlotSettings.Ymin = 0
  NewPlotSettings.ymax = 0
  NewPlotSettings.ShowParameterBar = True
  NewPlotSettings.ShowParameterScales = True
  NewPlotSettings.ShowTargetReliability = True
  NewPlotSettings.ShowTargetTime = True
  NewPlotSettings.ShowTargetMarker = True
  NewPlotSettings.TargetReliability = 0
  NewPlotSettings.TargetTime = 0
  NewPlotSettings.ShowSuspensionPoints = True
  NewPlotSettings.ShowLeftCensoredPoints = True
  NewPlotSettings.ShowLinesAroundInterval = True
  NewPlotSettings.AdjustMLEPoints = True
  NewPlotSettings.StraightenGammaLine = True
  NewPlotSettings.ShowNumberInGroup = True
  NewPlotSettings.PlotXPrecision = 0
  NewPlotSettings.PlotyPrecision = 0
  NewPlotSettings.PlotXTolerance = 0
  NewPlotSettings.PlotYTolerance = 0
  NewPlotSettings.ConfBounds_SideSelected = ConfBoundsSides.TwoSidedBoth
  NewPlotSettings.ConfBounds_TypesSelected = ConfBoundsTypes.None
  NewPlotSettings.ConfidenceLevel = 0
  NewPlotSettings.ContourConfLevel = 0
  NewPlotSettings.HistogramInterval = 0

Revision as of 17:03, 28 April 2014


Specifies various plot settings that will be used when a plot is created.

In Weibull++/ALTA, most of these settings are accessible from the Show/Hide Plot Items window and the plot sheet's control panel.

Properties

Confidence Bounds

  • ConfBounds_SideSelected (as ConfBoundsSides) Sides of the confidence bounds.
  • ConfBounds_TypesSelected (as ConfBoundsTypes) Type of the confidence bounds.
  • ConfidenceLevel (as double) Confidence level.
  • ContourConfLevel (as double) Confidence level for contour line plot.

Target Reliability

  • ShowTargetReliability (as boolean) Whether to show the target reliability line.
  • TargetReliability (as double) The value of target reliability.
  • ShowTargetTime (as boolean) Whether to show the target time line.
  • TargetTime (as double) The value of target time.
  • ShowTargetMarker (as boolean) Whether to show the a marker on the intersection of the target reliability and time lines.

Scaling

  • AutoscaleX (as boolean) Whether the X-scale is calculated automatically.
  • AutoscaleY (as boolean) Whether the Y-scale is calculated automatically.
  • Xmax (as double) X-scale end. Only used if AutoscaleX is false.
  • Xmin (as double) X-scale start. Only used if AutoscaleX is false.
  • Ymax (as double) Y-scale end. Only used if AutoscaleY is false.
  • Ymin (as double) Y-scale start. Only used if AutoscaleY is false.

Show/Hide Items

  • ShowLeftCensoredPoints (as boolean) Whether to show left censored points on X-axis.
  • ShowLinesAroundInterval (as boolean) Whether to show vertical lines around an interval line.
  • ShowNumberInGroup (as boolean) Whether to show the number of points in the group for grouped data.
  • ShowParameterBar (as boolean) Whether to show the parameter bars as probability plot.
  • ShowParameterScales (as boolean) Whether to show the parameter scales as probability plot.
  • ShowSuspensionPoints (as boolean) Whether to show suspension points on X-axis.

Axis Labels

  • PlotXPrecision (as integer) Precision for labels on X-axis.
  • PlotXTolerance (as integer) Tolerance for labels on X-axis.
  • PlotYPrecision (as integer) Precision for labels on Y-axis.
  • PlotYTolerance (as integer) Tlerance for labels on Y-axis.

Failures/Suspensions Histogram Setting

  • HistogramInterval (as double) Interval in histogram plots. Set it to 0 to use the automatically calculated interval.

Plot Legend

  • UserCompany (as string) Company name that appears on the plot.
  • UserName (as string) User name that appears on the plot.

Other Options

  • AdjustMLEPoints (as boolean) Whether to adjust MLE points.
  • StraightenGammaLine (as boolean) Whether to streighten the probability line for Gamma and G-Gamma distributions.

Usage Example

 'Create a new WAPlotSettings object. 
 Dim NewPlotSettings As New WAPlotSettings
 
 'Set the plot settings. 
 NewPlotSettings.UserName = ""
 NewPlotSettings.UserCompany = ""
 NewPlotSettings.AutoscaleX = True
 NewPlotSettings.AutoscaleY = True
 NewPlotSettings.Xmin = 0
 NewPlotSettings.Xmax = 0
 NewPlotSettings.Ymin = 0
 NewPlotSettings.ymax = 0
 NewPlotSettings.ShowParameterBar = True
 NewPlotSettings.ShowParameterScales = True
 NewPlotSettings.ShowTargetReliability = True
 NewPlotSettings.ShowTargetTime = True
 NewPlotSettings.ShowTargetMarker = True
 NewPlotSettings.TargetReliability = 0
 NewPlotSettings.TargetTime = 0
 NewPlotSettings.ShowSuspensionPoints = True
 NewPlotSettings.ShowLeftCensoredPoints = True
 NewPlotSettings.ShowLinesAroundInterval = True
 NewPlotSettings.AdjustMLEPoints = True
 NewPlotSettings.StraightenGammaLine = True
 NewPlotSettings.ShowNumberInGroup = True
 NewPlotSettings.PlotXPrecision = 0
 NewPlotSettings.PlotyPrecision = 0
 NewPlotSettings.PlotXTolerance = 0
 NewPlotSettings.PlotYTolerance = 0
 NewPlotSettings.ConfBounds_SideSelected = ConfBoundsSides.TwoSidedBoth
 NewPlotSettings.ConfBounds_TypesSelected = ConfBoundsTypes.None
 NewPlotSettings.ConfidenceLevel = 0
 NewPlotSettings.ContourConfLevel = 0
 NewPlotSettings.HistogramInterval = 0