WAPlotSettings Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:APIClass|WAPlots Class|WAPlots}}
{{Template:API}}{{Template:APIBreadcrumb}}
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==
Represents the plot settings of an associated [[WAPlots Class|WAPlots]] object.


'''Confidence Bounds'''
== Constructor==
*ConfBounds_SideSelected (as ''[[ConfBoundsSides Enumeration|ConfBoundsSides]]'') {{APIComment|Sides of the confidence bounds.}}
{| {{APITable}}
*ConfBounds_TypesSelected (as ''[[ConfBoundsTypes Enumeration|ConfBoundsTypes]]'') {{APIComment|Type of the confidence bounds.}}
|-
*ConfidenceLevel (as ''double'') {{APIComment|Confidence level.}}
| style="width: 180px;"|WAPlotSettings||Creates an instance of the WAPlotSettings class.
*ContourConfLevel (as ''double'') {{APIComment|Confidence level for contour line plot.}}
|}


'''Target Reliability'''
*ShowTargetReliability (as ''boolean'') {{APIComment|Whether to show the target reliability line.}}
*TargetReliability (as ''double'') {{APIComment|The value of target reliability.}}
*ShowTargetTime (as ''boolean'') {{APIComment|Whether to show the target time line.}}
*TargetTime (as ''double'') {{APIComment|The value of target time.}}
*ShowTargetMarker (as ''boolean'') {{APIComment|Whether to show the a marker on the intersection of the target reliability and time lines.}}


'''Scaling'''
== Properties==
*AutoscaleX (as ''boolean'') {{APIComment|Whether the X-scale is calculated automatically.}}
{| {{APITable}}
*AutoscaleY (as ''boolean'') {{APIComment|Whether the Y-scale is calculated automatically.}}
|-
*Xmax (as ''double'') {{APIComment|X-scale end. Only used if AutoscaleX is false.}}
| style="width: 180px;"|AdjustMLEPoints||Indicates whether to adjust the y-axis positions of the plotted points to fit the MLE solution line (instead of plotting the points from rank regression). '''Boolean'''. Default value = False.
*Xmin (as ''double'') {{APIComment|X-scale start. Only used if AutoscaleX is false.}}
|-
*Ymax (as ''double'') {{APIComment|Y-scale end. Only used if AutoscaleY is false.}}
|AutoscaleX||Indicates whether the plot automatically chooses the appropriate values for the X-axis. '''Boolean'''. Default value = True.
*Ymin (as ''double'') {{APIComment|Y-scale start. Only used if AutoscaleY is false.}}
|-
 
|AutoscaleY||Indicates whether the plot automatically chooses the appropriate values for the Y-axis. '''Boolean'''. Default value = True.
'''Show/Hide Items'''
|-
*ShowLeftCensoredPoints (as ''boolean'') {{APIComment|Whether to show left censored points on X-axis.}}
|ConfBounds_SideSelected||Gets or sets a value from the '''[[ConfBoundsSides_Enumeration|ConfBoundsSides]]''' enumeration, which specifies the sides of the confidence bounds (e.g., two-sided bounds, one-sided upper bound, etc.). Default value = 0 (no bounds).
*ShowLinesAroundInterval (as ''boolean'') {{APIComment|Whether to show vertical lines around an interval line.}}
|-
*ShowNumberInGroup (as ''boolean'') {{APIComment|Whether to show the number of points in the group for grouped data.}}
|ConfBounds_TypesSelected||Gets or sets a value from the '''[[ConfBoundsTypes_Enumeration|ConfBoundsTypes]]''' enumeration, which specifies the type of confidence bounds (e.g., type I or type II, etc.). Default value = 0 (no bounds).
*ShowParameterBar (as ''boolean'') {{APIComment|Whether to show the parameter bars as probability plot.}}
|-
*ShowParameterScales (as ''boolean'') {{APIComment|Whether to show the parameter scales as probability plot.}}
|ConfidenceLevel||Gets or sets the confidence level. '''Double'''. Default value = 0.9
*ShowSuspensionPoints (as ''boolean'') {{APIComment|Whether to show suspension points on X-axis.}}
|-
 
|ContourConfLevel||Gets or sets the confidence level for the contour line plot. '''Double'''. Default value = 0.9
'''Axis Labels'''
|-
*PlotXPrecision (as ''integer'') {{APIComment|Precision for labels on X-axis.}}
|HistogramInterval||Gets or sets the interval in histogram plots. '''Double'''. Default value = 0 (interval is automatically calculated)
*PlotXTolerance (as ''integer'') {{APIComment|Tolerance for labels on X-axis.}}
|-
*PlotYPrecision (as ''integer'') {{APIComment|Precision for labels on Y-axis.}}
|PlotXPrecision||Gets or sets the math precision of the labels on the X-axis. '''Integer'''. Default value = 6.
*PlotYTolerance (as ''integer'') {{APIComment|Tlerance for labels on Y-axis.}}
|-
 
|PlotXTolerance||Gets or sets the point at which the plot will switch to scientific notation for the X-axis labels. '''Integer'''. Default value = 6.
'''Failures/Suspensions Histogram Setting
|-
*HistogramInterval (as ''double'') {{APIComment|Interval in histogram plots. Set it to 0 to use the automatically calculated interval.}}
|PlotYPrecision||Gets or sets the math precision of the labels on the Y-axis. '''Integer'''. Default value = 6.
|-
|PlotYTolerance||Gets or sets the point at which the plot will switch to scientific notation for the Y-axis labels. '''Integer'''. Default value = 6.
|-
|Show3PWeibullAdjustedItems||Indicate whether to display the adjusted failure points, lines, and confidence bounds for 3-parameter Weibull probability plot. '''Boolean'''. Default value = True.
|-
|Show3PWeibullUnadjustedItems||Indicate whether to display the unadjusted failure points, lines, and confidence bounds for 3-parameter Weibull probability plot. '''Boolean'''. Default value = True.
|-
|ShowDataPoints||Indicates whether to show the data points on probability and reliability plots. '''Boolean'''. Default value = True.
|-
|ShowLeftCensoredPoints||Indicates whether to show the left censored points on the plot when plotting interval or left censored data. '''Boolean'''. Default value = False.
|-
|ShowLinesAroundInterval||Indicates whether to show vertical lines around the points for interval censored data. '''Boolean'''. Default value = True.
|-
|ShowNumberInGroup||Indicates whether to show the number of data points in the group for grouped data. '''Boolean'''. Default value = False.
|-
|ShowParameterBar||Indicates whether to show a box around the parameter scales on a probability plot. '''Boolean'''. Default value = False.
|-
|ShowParameterScales||Indicates whether to show the parameter scales on a probability plot. '''Boolean'''. Default value = False.
|-
|ShowSuspensionPoints||Indicates whether to show the suspension (right-censored) data points on the plot when plotting suspended data. '''Boolean'''. Default value = False.
|-
|ShowTargetMarker||Indicates whether to show a marker on the intersection of the target reliability and time lines on the plot. '''Boolean'''. Default value = False.
|-
|ShowTargetReliability||Indicates whether to show the target reliability line on the plot. '''Boolean'''. Default value = False.
|-
|ShowTargetTime||Indicates whether to show the target time line on the plot. '''Boolean'''. Default value = False.
|-
|StraightenGammaLine||Indicates whether to straighten the parameter line on the probability plot for the gamma or generalized gamma distributions. '''Boolean'''. Default value = True.
|-
|TargetReliability||Gets or sets the value of the target reliability. '''Double'''. Default value = 0.9
|-
|TargetTime||Gets or sets the value of the target time. '''Double'''. Default value = 100
|-
|UserCompany||Gets or sets the company name that appears on the plot. '''String'''
|-
|UserName||Gets or sets the user name that appears on the plot. '''String'''
|-
|Xmax||Gets or sets the maximum value for the X-axis. Applies only if <code>AutoscaleX</code> is false. '''Double'''. Default value = 1.
|-
|Xmin||Gets or sets the minimum value for the X-axis. Applies only if <code>AutoscaleX</code> is false. '''Double'''. Default value = 0.
|-
|Ymax||Gets or sets the maximum value for the Y-axis. Applies only if <code>AutoscaleY</code> is false. '''Double'''. Default value = 1.
|-
|Ymin||Gets or sets the maximum value for the Y-axis. Applies only if <code>AutoscaleY</code> is false. '''Double'''. Default value = 0.
|}


'''Plot Legend'''
*UserCompany (as ''string'') {{APIComment|Company name that appears on the plot.}}
*UserName (as ''string'') {{APIComment|User name that appears on the plot.}}


'''Other Options'''
==See Also==
*AdjustMLEPoints (as ''boolean'') {{APIComment|Whether to adjust MLE points.}}
*[[WAPlots.CreatePlot|WAPlots.CreatePlot Method]] (.NET only)
*StraightenGammaLine (as ''boolean'') {{APIComment|Whether to streighten the probability line for Gamma and G-Gamma distributions.}}
*[[WAPlots.CreatePlotVB6|WAPlots.CreatePlotVB6 Method]] (VBA/VB6 only)
<!---
=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
-->

Latest revision as of 22:53, 2 March 2018

APIWiki.png


Member of: SynthesisAPI


Represents the plot settings of an associated WAPlots object.

Constructor

Name Description
WAPlotSettings Creates an instance of the WAPlotSettings class.


Properties

Name Description
AdjustMLEPoints Indicates whether to adjust the y-axis positions of the plotted points to fit the MLE solution line (instead of plotting the points from rank regression). Boolean. Default value = False.
AutoscaleX Indicates whether the plot automatically chooses the appropriate values for the X-axis. Boolean. Default value = True.
AutoscaleY Indicates whether the plot automatically chooses the appropriate values for the Y-axis. Boolean. Default value = True.
ConfBounds_SideSelected Gets or sets a value from the ConfBoundsSides enumeration, which specifies the sides of the confidence bounds (e.g., two-sided bounds, one-sided upper bound, etc.). Default value = 0 (no bounds).
ConfBounds_TypesSelected Gets or sets a value from the ConfBoundsTypes enumeration, which specifies the type of confidence bounds (e.g., type I or type II, etc.). Default value = 0 (no bounds).
ConfidenceLevel Gets or sets the confidence level. Double. Default value = 0.9
ContourConfLevel Gets or sets the confidence level for the contour line plot. Double. Default value = 0.9
HistogramInterval Gets or sets the interval in histogram plots. Double. Default value = 0 (interval is automatically calculated)
PlotXPrecision Gets or sets the math precision of the labels on the X-axis. Integer. Default value = 6.
PlotXTolerance Gets or sets the point at which the plot will switch to scientific notation for the X-axis labels. Integer. Default value = 6.
PlotYPrecision Gets or sets the math precision of the labels on the Y-axis. Integer. Default value = 6.
PlotYTolerance Gets or sets the point at which the plot will switch to scientific notation for the Y-axis labels. Integer. Default value = 6.
Show3PWeibullAdjustedItems Indicate whether to display the adjusted failure points, lines, and confidence bounds for 3-parameter Weibull probability plot. Boolean. Default value = True.
Show3PWeibullUnadjustedItems Indicate whether to display the unadjusted failure points, lines, and confidence bounds for 3-parameter Weibull probability plot. Boolean. Default value = True.
ShowDataPoints Indicates whether to show the data points on probability and reliability plots. Boolean. Default value = True.
ShowLeftCensoredPoints Indicates whether to show the left censored points on the plot when plotting interval or left censored data. Boolean. Default value = False.
ShowLinesAroundInterval Indicates whether to show vertical lines around the points for interval censored data. Boolean. Default value = True.
ShowNumberInGroup Indicates whether to show the number of data points in the group for grouped data. Boolean. Default value = False.
ShowParameterBar Indicates whether to show a box around the parameter scales on a probability plot. Boolean. Default value = False.
ShowParameterScales Indicates whether to show the parameter scales on a probability plot. Boolean. Default value = False.
ShowSuspensionPoints Indicates whether to show the suspension (right-censored) data points on the plot when plotting suspended data. Boolean. Default value = False.
ShowTargetMarker Indicates whether to show a marker on the intersection of the target reliability and time lines on the plot. Boolean. Default value = False.
ShowTargetReliability Indicates whether to show the target reliability line on the plot. Boolean. Default value = False.
ShowTargetTime Indicates whether to show the target time line on the plot. Boolean. Default value = False.
StraightenGammaLine Indicates whether to straighten the parameter line on the probability plot for the gamma or generalized gamma distributions. Boolean. Default value = True.
TargetReliability Gets or sets the value of the target reliability. Double. Default value = 0.9
TargetTime Gets or sets the value of the target time. Double. Default value = 100
UserCompany Gets or sets the company name that appears on the plot. String
UserName Gets or sets the user name that appears on the plot. String
Xmax Gets or sets the maximum value for the X-axis. Applies only if AutoscaleX is false. Double. Default value = 1.
Xmin Gets or sets the minimum value for the X-axis. Applies only if AutoscaleX is false. Double. Default value = 0.
Ymax Gets or sets the maximum value for the Y-axis. Applies only if AutoscaleY is false. Double. Default value = 1.
Ymin Gets or sets the maximum value for the Y-axis. Applies only if AutoscaleY is false. Double. Default value = 0.


See Also