Plot range for each group in variability chartHello,
I have made a script in jsl, that plots a variability chart for two groups. How do I draw a separate range for each group in the same chart - say the tolerance interval for each group?
Thanks!
Automation and ScriptingRe: Plot range for each group in variability chartHere is a very simple example. All of the Graphics functions are documented in the Scripting Index, under "Graphics


Names Default To Here( 1 );
dt =
// Open Data Table: big class.jmp
// → Data Table( "big class" )
Open( "$SAMPLE_DATA/big class.jmp" );
vc = Variability Chart(
Y( :height ),
X( :sex, :age ),
Show Cell Means( 0 ),
Std Dev Chart( 0 )
);
rvcf = Report( vc )[framebox( 1 )];
rvcf << add graphics script(
Pen Color( red );
Line( {0, 67}, {6, 67} );
Line( {6, 62}, {12, 62} );
Pen Color( blue );
Line( {0, 55}, {6, 55} );
Line( {6, 52}, {12, 52} );
Text Color( red );
Text( {1, 67}, "Limit for Females" );
);
Re: Plot range for each group in variability chartThanks Jim,
This is what I want. How could I approach this using Add Graphics?

Re: Plot range for each group in variability chartWhat am I missing? JMP Variability chart already has the ability to display range values

And you can use the Add Graphics Script capability to add any other item you may want on the graph.
Re: Plot range for each group in variability chartI think, you have the possibility to draw reference lines for the full chart, but not for each group.
So the workaround would be to put two variability charts in one window, and set the reference lines for each as you want.