Ciao - Sto eseguendo JMP 14 e sto provando a produrre un grafico molto specifico all'interno del Graph Builder. Allego uno script JSL che crea una tabella dati, che a sua volta contiene due script che illustrano il problema che ho.
Se eseguo lo script "A, B & C Only", ottengo un grafico all'interno del Graph Builder in cui i punteggi per i tre prodotti A, B e C sono visualizzati verticalmente all'interno di ciascuno dei quattro gruppi (chiamati "Scala 1", " Scala 2 "," Scala 3 "e" Scala 4 "rispettivamente). Questo è esattamente il formato che voglio.
Se tuttavia ora tento di aggiungere un il quarto colonna ("Prodotto D") sull'asse Y, il formato del grafico cambia automaticamente nello stile mostrato eseguendo lo script "A, B, C & D". (Si prega di notare - questo cambiamento fa non si verificano se eseguo lo stesso script in JMP 13, quindi suppongo che l'incarnazione più recente di Graph Builder abbia una funzionalità aggiuntiva che anticipa il tipo di grafico che voglio vedere e sta modificando il layout di conseguenza.)
Voglio impedire a Graph Builder di modificare lo stile in questo modo quando vengono visualizzati più di tre prodotti sull'asse Y. C'è un modo per farlo, per favore?
Grazie molto
New Table( "Demo for JMP User Forum",
Add Rows( 4 ),
New Script(
"A, B & C Only",
Graph Builder(
Size( 536, 454 ),
Show Control Panel( 1 ),
Variables(
Y( :Product A ),
Y( :Product B, Position( 1 ) ),
Y( :Product C, Position( 1 ) ),
Group X( :Name of Scale )
),
Elements( Points( Y( 1 ), Y( 2 ), Y( 3 ), Legend( 15 ) ) ),
SendToReport(
Dispatch(
{},
"Product A",
ScaleBox,
{Label Row( Show Major Grid( 1 ) )}
)
)
)
),
New Script(
"A, B, C & D",
Graph Builder(
Size( 536, 490 ),
Show Control Panel( 1 ),
Variables(
Y( :Product A ),
Y( :Product B, Position( 1 ) ),
Y( :Product C, Position( 1 ) ),
Y( :Product D, Position( 1 ) ),
Group X( :Name of Scale )
),
Elements( Points( Y( 1 ), Y( 2 ), Y( 3 ), Y( 4 ), Legend( 10 ) ) ),
SendToReport(
Dispatch(
{},
"Product A",
ScaleBox,
{Label Row( Show Major Grid( 1 ) )}
)
)
)
),
New Column( "Name of Scale",
Character( 7 ),
"Nominal",
Set Values( {"Scale 1", "Scale 2", "Scale 3", "Scale 4"} )
),
New Column( "Product A",
Numeric,
"Continuous",
Format( "Fixed Dec", 15, 3 ),
Set Values(
[0.367032967032967, -0.94980694980695, 0.909157509157509,
-0.207142857142857]
)
),
New Column( "Product B",
Numeric,
"Continuous",
Format( "Fixed Dec", 15, 3 ),
Set Values(
[-0.0507936507936508, -0.437630662020906, 0.380952380952381,
-0.56017316017316]
)
),
New Column( "Product C",
Numeric,
"Continuous",
Format( "Fixed Dec", 15, 3 ),
Set Values(
[0.627574750830565, -0.923443223443224, 0.666023166023166,
0.390225563909774]
)
),
New Column( "Product D",
Numeric,
"Continuous",
Format( "Fixed Dec", 15, 3 ),
Set Values(
[-0.198412698412698, 0.0804511278195489, 0.167765567765568,
-0.208163265306122]
)
)
)
Ciao @ dqr2 ,
Sembra che 4 risposte siano il grilletto per cambiare l'impostazione "Combina scale" da "unite" a "unite in parallelo". Ho trovato questo facendo clic destro sull'asse Y e cambiato da automatico a "Uniti". Prova questo script:
Graph Builder(
Size( 536, 490 ),
Variables(
Y( :Product A, Combine( "Merged" ) ),
Y( :Product B, Position( 1 ), Combine( "Merged" ) ),
Y( :Product C, Position( 1 ), Combine( "Merged" ) ),
Y( :Product D, Position( 1 ), Combine( "Merged" ) ),
Group X( :Name of Scale )
),
Elements( Points( Y( 1 ), Y( 2 ), Y( 3 ), Y( 4 ), Legend( 15 ) ) ),
SendToReport(
Dispatch( {}, "Product A", ScaleBox, {Label Row( Show Major Grid( 1 ) )} )
)
)