CIAO,
Ho una domanda su più grafici in una finestra (non nel generatore di grafici).
Mi piacerebbe avere più grafici a linee con ciascun asse x e y (come la figura sotto - in realtà 3 colonne e 4 righe) - In realtà questo tipo di grafici può essere generato utilizzando la modalità "Adatta Y per X". Tuttavia, non può tracciare linee come questa.

Ricordo che l'opzione "V List Box" o "H List Box" negli script potrebbe farlo. Tuttavia, non riesco a ricordarlo completamente e nemmeno io sono riuscito a trovare alcuna informazione al riguardo cercando su Google.
Posso farlo nella modalità "Graph Builder"?
Utilizzando Casella di formazione con N Col(2) è molto probabilmente più semplice per qualcosa di simile
Names Default To Here(1);
dt = open("$SAMPLE_DATA/Big Class.jmp");
new window("",
Lineup Box(N Col(2),
dt << Graph Builder(
Variables(X(:weight), Y(:height), Overlay(:sex)),
Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11)))
),
dt << Graph Builder(
Variables(X(:weight), Y(:height), Overlay(:sex)),
Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11)))
),
dt << Graph Builder(
Variables(X(:weight), Y(:height), Overlay(:sex)),
Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11)))
),
dt << Graph Builder(
Variables(X(:weight), Y(:height), Overlay(:sex)),
Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11)))
)
);
);
Puoi anche controllare Combina Windows dal menu Finestra.
Ho creato il mio script (come esempio) basato esattamente su ciò che volevo utilizzando "V List Box" e "H List Box".
Lo script seguente può essere eseguito quando si apre "$SAMPLE_DATA/Big Class.jmp".
New Window( "Run Data",
H List Box(
V List Box(
Graph Builder(
Size( 400, 350 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ), Overlay( :sex ), Color( :name ) ),
Elements( Line( X, Y, Legend( 5 ) ), Points( X, Y, Legend( 6 ) ) ),
SendToReport(
Dispatch(
{},
"Graph Builder",
OutlineBox,
{Set Title( "weight" ), Image Export Display( Normal )}
),
Dispatch( {}, "height", ScaleBox, {Label Row( Show Major Grid( 1 ) )} ),
Dispatch( {}, "weight", ScaleBox, {Label Row( Show Major Grid( 1 ) )} ),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} )
)
)
),
V List Box(
Graph Builder(
Size( 400, 350 ),
Show Control Panel( 0 ),
Variables( X( :height ), Y( :weight ), Overlay( :sex ), Color( :name ) ),
Elements( Line( X, Y, Legend( 5 ) ), Points( X, Y, Legend( 6 ) ) ),
SendToReport(
Dispatch(
{},
"Graph Builder",
OutlineBox,
{Set Title( "height" ), Image Export Display( Normal )}
),
Dispatch( {}, "weight", ScaleBox, {Label Row( Show Major Grid( 1 ) )} ),
Dispatch( {}, "height", ScaleBox, {Label Row( Show Major Grid( 1 ) )} ),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} )
)
)
),
),
H List Box(
V List Box(
Graph Builder(
Size( 400, 350 ),
Show Control Panel( 0 ),
Variables( X( :age ), Y( :height ), Overlay( :sex ), Color( :name ) ),
Elements( Line( X, Y, Legend( 5 ) ), Points( X, Y, Legend( 6 ) ) ),
SendToReport(
Dispatch(
{},
"Graph Builder",
OutlineBox,
{Set Title( "age" ), Image Export Display( Normal )}
),
Dispatch( {}, "height", ScaleBox, {Label Row( Show Major Grid( 1 ) )} ),
Dispatch( {}, "age", ScaleBox, {Label Row( Show Major Grid( 1 ) )} ),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} )
)
)
),
V List Box(
Graph Builder(
Size( 400, 350 ),
Show Control Panel( 0 ),
Variables( X( :height ), Y( :age ), Overlay( :sex ), Color( :name ) ),
Elements( Line( X, Y, Legend( 5 ) ), Points( X, Y, Legend( 6 ) ) ),
SendToReport(
Dispatch(
{},
"Graph Builder",
OutlineBox,
{Set Title( "height" ), Image Export Display( Normal )}
),
Dispatch( {}, "age", ScaleBox, {Label Row( Show Major Grid( 1 ) )} ),
Dispatch( {}, "height", ScaleBox, {Label Row( Show Major Grid( 1 ) )} ),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "" )} )
)
)
),
)
);