- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Auto scaling Y axis of control chart
Hi there,
I'm pretty new to JMP and I currently have a bunch of control charts for a data set I'm analyzing. They're all saved to the data table and every time I run them I have to manually drag the y axis until the range is correct. Is there a way to edit the script so this is done automatically?
I found this post but couldn't figure out how to implement into my scripts: Control Chart Builder y axis scale - can I set dynamically using JSL?
Thanks!
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Auto scaling Y axis of control chart
Hi,
It looks like the script captured your manual assignment of the Y axis Max and Min values. In the script, locate the line below the ScaleBox statement and delete the numbers within the parentheses for Min, Max, and Inc (leave the parentheses). Save the new script to the table and now the Control Chart will scale automatically to the data range.
Is this what you were looking for?
Best,
TS
It looks like the script captured your manual assignment of the Y axis Max and Min values. In the script, locate the line below the ScaleBox statement and delete the numbers within the parentheses for Min, Max, and Inc (leave the parentheses). Save the new script to the table and now the Control Chart will scale automatically to the data range.
Is this what you were looking for?
Best,
TS
Thierry R. Sornasse
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Auto scaling Y axis of control chart
Hi there,
I edited that part of my script but its still resulting in the same thing.
It ends up looking like this:
SendToReport(
Dispatch(
{},
"test",
ScaleBox,
{Min(), Max(), Inc(),
Minor Ticks( 0 )}
),
Dispatch(
{},
"test",
ScaleBox,
{Format( "Best", 12 ), Min(),
Max(), Inc(), Minor Ticks( 1 )}
)