How to have an horizontal layout when using a By variable with the graph builder?Hello everybody!
I would like to know how to display graphs horizontally when using a By variable with the graph Builder?
Here is a small example script:
Graph Builder(<BR />Size( 528, 456 ),<BR />Show Control Panel( 0 ),<BR />Variables( X( :weight ), Y( :height ) ),<BR />Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) ),<BR />By( :sex )<BR />)
I get the following result:

And I would like to get this:

Any idea of how we could do that?
Thanks in advance!
Re: How to have an horizontal layout when using a By variable with the graph builder?Thanks @Mark_Bailey that's exactly what I was looking for!!
Re: How to have an horizontal layout when using a By variable with the graph builder?Try this approach:
Names Default to Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window( "Side by Side",
Line Up Box( N Col( 2 ),
dt << Graph Builder(
Size( 534, 456 ),
Show Control Panel( 0 ),
Variables( X( :height ), Y( :weight ) ),
Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) ),
By( :sex )
) )
);