You can make similar-looking graphs with Graph Builder without writing JSL. What aspects of the graph are important to you? (sizes, positions, colors, decorations, labels, statistics?)
The script GraphBuilder saved can be reused.
Graph Builder(
Size( 839, 427 ),
Show Control Panel( 0 ),
Y Group Edge( "Left" ),
Title Fill Color( "Medium Light Gray" ),
Title Frame Color( "Medium Light Gray" ),
Level Fill Color( {217, 217, 217} ),
Level Frame Color( "Medium Light Gray" ),
Level Spacing Color( "Medium Light Gray" ),
Variables( X( :height ), X( :weight ), Y( :sex ), Group Y( :age ) ),
Elements(
Position( 1, 1 ),
Bar(
X,
Y,
Legend( 23 ),
Packed Placement( "Separate stack" ),
Summary Statistic( "% of Total" ),
Label( "Label by Value" )
)
),
Elements(
Position( 2, 1 ),
Box Plot( X, Y, Legend( 25 ), Width Proportion( 0.3 ) )
),
SendToReport(
Dispatch(
{},
"graph title",
TextEditBox,
{Set Text( "Big Class Information" )}
),
Dispatch(
{},
"Y title",
TextEditBox,
{Text Color( 0 ), Rotate Text( "Left" ), Font Color( 0 ), Set Text( "" )
}
),
Dispatch( {}, "Graph Builder", FrameBox, {Background Color( 36 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 2 ), {Background Color( 36 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 3 ), {Background Color( 68 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 4 ), {Background Color( 68 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 5 ), {Background Color( 36 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 6 ), {Background Color( 36 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 7 ), {Background Color( 67 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 8 ), {Background Color( 67 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 9 ), {Background Color( 35 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 10 ), {Background Color( 35 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 11 ), {Background Color( 67 )} ),
Dispatch( {}, "Graph Builder", FrameBox( 12 ), {Background Color( 67 )} )
)
);
Craige