- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Plot range for each group in variability chart
Hello,
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Plot range for each group in variability chart
I 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Plot range for each group in variability chart
What 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Plot range for each group in variability chart
Thanks Jim,
This is what I want. How could I approach this using Add Graphics?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Plot range for each group in variability chart
Here 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" );
);