Puoi aggiungere una tabella di esempio e alcune istruzioni? E assicurati che il JSL sia pulito; le ultime due parentesi sembrano fuori posto.
(Non uso i grafici di controllo, ma potrei supporre che la variabile Y2 per la dimensione del campione sia in qualche modo coinvolta.)
Ecco un esempio del set di dati:
| X | Y2 | Y |
| UN | 25218 | 24218 |
| B | 26000 | 24218 |
| C | 61534 | 56379 |
| D | 25218 | 24218 |
| E | 25218 | 24057 |
Non credo sia un problema di dataset/variabile Y2/parentes...
Stai chiedendo della grande regione vuota a destra del grafico?
extra space at right end of X axis?extra space at right end of X axis?extra space at right end of X axis?extra space at right end of X axis?extra space at right end of X axis?extra space at right end of X axis?extra space at right end of X axis?extra space at right end of X axis?extra space at right end of X axis?extra space at right end of X axis?extra space at right end of X axis?extra space at right end of X axis?extra space at right end of X axis?extra space at right end of X axis?extra space at right end of X axis?extra space at right end of X axis?extra space at right end of X axis?extra space at right end of X axis?spazio extra all'estremità destra dell'asse X?
Sembra avere un comportamento di scorrimento che potrebbe provare a mostrare circa 10 man mano che vengono aggiunte più righe alla tabella. Se non ottieni altre risposte qui, prova il collegamento al supporto tecnico in fondo alla pagina.
dt =
New Table( "Imported Data",
New Column( "X", Character, "Nominal", Set Values( {"A", "B", "C", "D", "E"} ) ),
New Column( "Y2", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [9, 9, 9, 9, 9] ) ),
New Column( "Y", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [8, 7, 6, 5, 4] ) )
);
//New Table( "Imported Data",
// New Column( "X", Character, "Nominal", Set Values( {"A", "B", "C", "D", "E", "f", "g", "h", "i", "j", "k"} ) ),
// New Column( "Y2", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9] ) ),
// New Column( "Y", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [8, 7, 6, 5, 4, 8, 7, 6, 5, 4, 3] ) )
//);
dt << Control Chart(
Sample Label( :X ),
Sample Size( :Y2 ),
KSigma( 1 ),
Sort by Row Order( 1 ),
Chart Col( :"Y"n, P( Test Beyond Limits( 1 ), Limits Precision( 1 ) ) )
);
Ho provato creando un altro datatable ma non funziona altrettanto bene...
Non so perché succede.
Qualcuno ha un altro suggerimento?
Ciao a tutti,
Sto creando un grafico a P di Laney con JMP 16.2. (So che questo grafico è disponibile con la nuova versione di JMP, tuttavia non ho questa nuova versione).
Non so perché ma quando ho meno di 10 valori, la scala X non è adattata.
La scala X è impostata per 10 valori (qualunque sia il numero di valori se è inferiore a 10), e quando ho più di 10 valori la scala X viene adattata.
Ecco il mio programma
z_yyy = Eval( {:"Y"n} );
z_xx = z_yyy[1] << get values;
z_nnn = Eval( {:Nombre de seringue transmise par le remplissage} );
z_nn = z_nnn[1] << get values;
z_rrr = Eval( {:Numéro de lot} );
z_Proportion = E Div( z_xx, z_nn );
z_Pbar = V Sum( z_xx ) / V Sum( z_nn );
z_sigma_est = Root( z_Pbar * (1 - z_Pbar) );
z_zvalue = E Mult( ((z_Proportion - z_Pbar) / z_sigma_est), Root( z_nn ) );
z_nr = N Row( z_zvalue );
z_mRList = {0};
z_m = z_zvalue;
z_m[1, 0] = [];
z_m = z_m |/ [0];
z_mr = Abs( z_m - z_zvalue );
z_nr = N Row( z_mr );
z_mr[z_nr, 0] = [];
z_SigmaZ = Mean( z_mr ) / 1.128;
z_KSigmaZ = 3 * z_SigmaZ;
Names Default To Here( 1 );
Graph_expr=Expr(
graph1 = Control Chart(
Sample Label( :X ),
Sample Size( :Y2 ),
KSigma(TBD),
Sort by Row Order( 1 ),
Chart Col( :"Y"n, P( Test Beyond Limits( 1 ), Limits Precision( 1 ) ) ),
SendToReport(
Dispatch(
{},
"Y",
OutlineBox,
{Set Title( "Carte de controle P'" )}
),
Dispatch(
{"Y"},
"2",
ScaleBox,
{Format( "Fixed Dec", 12, 5 ), Min( -0.05 ), Max( 1.05 ), Inc( 0.1 ),
Minor Ticks( 9 )}
),
Dispatch(
{"Y"},
"1",
ScaleBox,
{Min( 0.5 ), Inc( 1 ), Minor Ticks( 0 )}
),
Dispatch(
{"Y"},
"",
AxisBox,
{Add Axis Label( "XX" )}
)
)));
SubstituteInto(Graph_expr, Expr(TBD), z_KSigmaZ);
Graph_expr;
);
)Qualcuno ha un suggerimento per aiutarmi?
Grazie
Sebastiano