Hola,
Tengo una pregunta sobre varios gráficos en una ventana (no en el generador de gráficos).
Me gustaría tener varios gráficos de líneas con cada eje x e y (como en la figura siguiente, en realidad 3 columnas y 4 filas). En realidad, este tipo de gráficos se pueden generar usando el modo 'Ajustar Y por X'. Sin embargo, no puede trazar líneas como ésta.

Recuerdo que la opción "Cuadro de lista V" o "Cuadro de lista H" en los scripts podría hacer esto. Sin embargo, no puedo recordarlo completamente e incluso no pude encontrar ninguna información al respecto buscando en Google.
¿Puedo hacer esto en el modo 'Creador de gráficos'?
Usando Cuadro de alineación con N Col(2) probablemente sea más fácil para algo como esto
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)))
)
);
);
También puedes consultar Combinar Windows desde el menú Ventana.
Hice mi propio script (como ejemplo) basado exactamente en lo que quería usando 'V List Box' y 'H List Box'.
El siguiente script se puede ejecutar al abrir "$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( "" )} )
)
)
),
)
);