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
- :
- 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
- Permalink
- Email to a Friend
- Report Inappropriate Content

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

I have to plot variability charts all the time and want to find out if there is a way to automatically plot a reference line at Q3 and Q1 or some predetermined value everytime I plot the variability chart. Is there a way to do it? I can't seem to find it in preferences.

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Mar 2, 2016 11:31 AM
(4432 views)

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
- Permalink
- Email to a Friend
- Report Inappropriate Content

Mar 2, 2016 11:31 AM
(4433 views)

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
- Permalink
- Email to a Friend
- Report Inappropriate Content

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

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