Subscribe Bookmark RSS Feed

JSL Variability Chart Rotate Tick Labels on mulitple levels of grouping

Hi,
I am extremely new to using JSL, but have been using JMP for a while now. I have a script that is taking my data and creating Variability Charts, with two levels of groupings. Example code:

ChartE = Variability Chart(
Y( :Name( "3h_PIX_GE_PEAK_E_10000_LT12400" ) ),
X( :LOT, :Group ),
Model( Main Effect ),
Show Range Bars( 0 ),
Show Cell Means( 0 ),
Std Dev Chart( 0 ),
Points Jittered( 1 ),
Show Box Plots( 1 ),
SendToReport(
Dispatch(
{"Variability Chart for 3h_PIX_GE_PEAK_E_10000_LT12400"},
"2",
ScaleBox,
{Scale( Linear ), Format( "Best" ), Min( -25 ),
Max( E_Max ), Inc( E_Step ), Minor Ticks( 5 ),
Add Ref Line( 0, Dotted, Medium Light Gray )}
),
Dispatch(
{"Variability Chart for 3h_PIX_GE_PEAK_E_10000_LT12400"},
"Variability Chart",
FrameBox,
{Frame Size( 900, 450 ),
Row Legend(
WAFER,
Color( 1 ),
Marker( 1 ),
Continuous Scale( 0 )
)
}
)
)
);

This leaves me with the chart I want except that the Nominal (x-axis) grouping labels need to be rotated. I can manually do it for both :LOT and :Group, then saving the script to window I can see it gives me this:

Variability Chart(
Y( :Name( "3h_PIX_GE_PEAK_E_10000_LT12400" ) ),
X( :LOT, :Group ),
Model( Main Effect ),
Show Range Bars( 0 ),
Show Cell Means( 0 ),
Std Dev Chart( 0 ),
Points Jittered( 1 ),
Show Box Plots( 1 ),
SendToReport(
Dispatch(
{"Variability Chart for 3h_PIX_GE_PEAK_E_10000_LT12400"},
"2",
ScaleBox,
{Scale( Linear ), Format( "Best" ), Min( -25 ),
Max( 517.84 ), Inc( 103.568 ), Minor Ticks( 5 ),
Add Ref Line( 0, Dotted, Medium Light Gray ),
Add Ref Line( 0, Dotted, Medium Light Gray )}
),
Dispatch(
{"Variability Chart for 3h_PIX_GE_PEAK_E_10000_LT12400"},
"Variability Chart",
FrameBox,
{Frame Size( 900, 450 ),
Row Legend(
WAFER,
Color( 1 ),
Marker( 1 ),
Continuous Scale( 0 )
)}
),
Dispatch(
{"Variability Chart for 3h_PIX_GE_PEAK_E_10000_LT12400"},
"",
NomAxisBox,
Rotated Tick Labels( 1 )
),
Dispatch(
{"Variability Chart for 3h_PIX_GE_PEAK_E_10000_LT12400"},
"",
NomAxisBox,
Rotated Tick Labels( 1 )
)
)
);

So it looks like it adds:

Model ( Main Effect )

and then two dispatches for rotating tick labels. But if I rerun the same exact script JMP outputs it only rotates the label for Group and not for Lot.

The JSL documentation doesn't have much on this and I couldn't find anything that talked about multilevel rotating.

Can anyone point me in the right direction for how to specify which grouping I want to rotate.

Thanks,

DataMonkey
2 REPLIES
mpb

Super User

Joined:

Jun 23, 2011

Using 8.0.1, when I do the Variability chart on one of the JMP sample datasets under Measurement Systems, and save the script, the second Dispatch has this line in it:
...
NomAxisBox( 2 )
...

The resulting script rotates both horizontal axis values.

So try adding the "(2)" to one of your NomAxisBox items.

Michael
Thanks mpb!! I am running 7.0.2 and I guess it must be having some problems when going to a script.

Adding that (2) fixed the problem!

Thanks again.