XbarSCreateCharts Method (Chart, Int32, Double, Double) |
Creates a combined XBarS chart and SChart given the means and
in sample standard deviations for a series of equally sized samples.
Namespace: Imsl.Chart2D.QCAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public static ShewhartControlChart[] CreateCharts(
Chart chart,
int sampleSize,
double[] xbar,
double[] w
)
Public Shared Function CreateCharts (
chart As Chart,
sampleSize As Integer,
xbar As Double(),
w As Double()
) As ShewhartControlChart()
public:
static array<ShewhartControlChart^>^ CreateCharts(
Chart^ chart,
int sampleSize,
array<double>^ xbar,
array<double>^ w
)
static member CreateCharts :
chart : Chart *
sampleSize : int *
xbar : float[] *
w : float[] -> ShewhartControlChart[]
Parameters
- chart
- Type: Imsl.Chart2DChart
The Chart object which is the parent of the two charts being created.
- sampleSize
- Type: SystemInt32
The number of observations in each sample.
It must be at least one.
- xbar
- Type: SystemDouble
An array containing the mean values for a series of samples.
- w
- Type: SystemDouble
An array containing the in sample standard deviations of the samples.
Return Value
Type:
ShewhartControlChart
An array of length two containing the
XBarS chart and the
SChart.
Remarks
The viewport of the XBarS chart is [0.2, 0.9] by [0.1, 0.4].
The viewport of the SChart chart is [0.2, 0.9] by [0.5, 0.8].
See Also