turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Is there a way to automatically draw a reference l...

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Mar 2, 2016 9:07 AM
(885 views)

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Solution

If there is no platform option, then you can resort to scripting if need be.

The following could be (much) improved, but shows the idea (using the quartiles for all the data values):

NamesDefaultToHere**(****1****)**;

dt = Open**(**"$SAMPLE_DATA/Variability Data/2 Factors Crossed.jmp"**)**;

mCol = Column**(**dt, "Measurement"**)**;

vals = mCol << **getValues**;

q1 = Quantile**(****0.25**, vals**)**;

q3 = Quantile**(****0.75**, vals**)**;

vc = dt << **Variability Chart****(**

Y**(** mCol **)**,

X**(** :Operator, :part# **)**,

Show Grand Median**(** **1** **)**,

Std Dev Chart**(** **0** **)**,

SendToReport**(**

Dispatch**(**

**{**"Variability Chart for Measurement"**}**,

"2",

ScaleBox,

**{**Add Ref Line**(** q1, "Solid", "Red", "", **1** **)})**,

Dispatch**(**

**{**"Variability Chart for Measurement"**}**,

"2",

ScaleBox,

**{**Add Ref Line**(** q3, "Solid", "Red", "", **1** **)})**

**)**

**)**;

2 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

If there is no platform option, then you can resort to scripting if need be.

The following could be (much) improved, but shows the idea (using the quartiles for all the data values):

NamesDefaultToHere**(****1****)**;

dt = Open**(**"$SAMPLE_DATA/Variability Data/2 Factors Crossed.jmp"**)**;

mCol = Column**(**dt, "Measurement"**)**;

vals = mCol << **getValues**;

q1 = Quantile**(****0.25**, vals**)**;

q3 = Quantile**(****0.75**, vals**)**;

vc = dt << **Variability Chart****(**

Y**(** mCol **)**,

X**(** :Operator, :part# **)**,

Show Grand Median**(** **1** **)**,

Std Dev Chart**(** **0** **)**,

SendToReport**(**

Dispatch**(**

**{**"Variability Chart for Measurement"**}**,

"2",

ScaleBox,

**{**Add Ref Line**(** q1, "Solid", "Red", "", **1** **)})**,

Dispatch**(**

**{**"Variability Chart for Measurement"**}**,

"2",

ScaleBox,

**{**Add Ref Line**(** q3, "Solid", "Red", "", **1** **)})**

**)**

**)**;

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Mar 3, 2016 1:12 AM
(733 views)

Thanks Ian I'm aware of the potentials of the scripting side of jmp now!