- JMP User Community
- :
- Discussions
- :
- Turn off box plot in variability chart using JSL

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

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
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content

Sep 22, 2024 02:23 AM
(381 views)

Hi All,

Does anyone know why the following script failed to turn off the box plot and cell mean? I copy this script after I manually created the variability plot. However, if I run the script, the box plot and cell mean are not turn off. I am currently using JMP17.

The only workaround I found is by using either of the two options below :

1. << (Variability Analysis[1] << Show Box Plots( 0 ))

2. << Variability Analysis << Show Box Plots( 0 )

In option 1, what does the [1] in Variability Analysis mean? It seems like I can omit without any issue. I found the solution from JMP -> Scripting Index.

```
dt = Open("$SAMPLE_DATA/Big Class.jmp");
Variability Chart(
Y( :height ),
Model( "Main Effect" ),
X( :sex ),
Sigma Multiplier( 6 ),
Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
Variability Analysis(
:height,
Show Range Bars( 0 ),
Show Cell Means( 0 ),
Std Dev Chart( 0 ),
Points Jittered( 1 ),
Show Box Plots( 0 )
)
);
```

4 REPLIES 4

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content

Which operating system are you using? Which JMP17 are you running? I tested with JMP17.2 on windows 10 and for me there were no box plots and if I change show box plots to 1 it will plot them.

```
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
var = dt << Variability Chart(
Y(:height),
Model("Main Effect"),
X(:sex),
Sigma Multiplier(6),
Analysis Type("Choose best analysis (EMS REML Bayesian)"),
Variability Analysis(
:height,
Show Range Bars(0),
Show Cell Means(0),
Std Dev Chart(0),
Points Jittered(1),
Show Box Plots(0)
)
);
```

Is anything printed to log?

How do your preferences look?

Variability Analysis[1][1] refers to first variability analysis (it is different from Variability Chart and there can be more than one).

-Jarmo

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content

17.2?

When Box plots are enabled via the preferences, I can disable them via (JMP 17 & 18):

`Show Box Plots( 0 )`

As an alternative, you can try Ignore Platform Preferences(1).

I just learned it from @jthi:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content

Mine is 17.0, and I have the "show box plot" box checked in the preference.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content

any chance to update to JMP 17.2 - or 18.1?

... just to check out if it's the JMP version?

besides that:

with 18.1 there is no issue anymore with Find - or not find? : )

- © 2024 JMP Statistical Discovery LLC. All Rights Reserved.
- Terms of Use
- Privacy Statement
- About JMP
- JMP Software
- JMP User Community
- Contact