cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
ylee
Level III

Variability Chart Options script no longer working in JMP17

Hello,

 

Up to JMP16, I have been scripting Variability Charts as example below.

( Note : For the VarChart options, Yes|No or 1|0 can be used interchangeably without issue )

 

However, I found that the toggling options no longer work in JMP17, as illustrated in pdf attached.  Actually, Variability Summary Report still works, but I didn't try one-by-one for all the combo.

 

I need to toggle these different options for different kinds of report.

 

In the Scripting Index, it shows an alternative of scripting, where

obj << (Variability Analysis[1] << Show Box Plots( 1 ));

But I guess that means many repeated lines in order to include all the VarChart options, plus, I would prefer not to re-script and re-validate the setup I have.

 

May I know if there's any way to make my template below work for JMP15 to JMP17, and beyond ?

 

Thank you very much.

 

vc = dt << Variability Chart(
	Y( :Data ),
	X( :VarA, :VarB, :VarC ),
	Analysis Type( Name( "Choose best analysis (EMS REML Bayesian)" ) ),
	Variability Chart( 1 ),
	Process Variation( 0 ),
	Std Dev Chart( 0 ),
	Automatic Recalc( 1 ),
	Connect Cell Means( No ),
	Mean Diamonds( No ),
	Points Jittered( Yes ),
	Show Box Plots( No ),
	Show Cell Means( No ),
	Show Grand Mean( No ),
	Show Grand Median( No ),
	Show Points( Yes ),
	Show Range Bars( No ),
	Show Separators( Yes ),
	Variability Summary Report( No ),
	Vertical Charts( No ),
	XBar Control Limits( No ),
	By( :VarD ),
);

 

2 REPLIES 2
jthi
Super User

Re: Variability Chart Options script no longer working in JMP17

This seems to work fine for me (using JMP17.2)

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
obj = dt << Variability Chart(
	Y(:height),
	Model("Main effect"),
	X(:age),
	Variability Analysis(
		:height,
		Show Range Bars(0),
		Show Cell Means(0),
		Std Dev Char(0),
		Points Jittered(1),
		Show Box Plots(0)
	),
	by(:sex)
);

jthi_0-1701412763779.png

 

-Jarmo
ylee
Level III

Re: Variability Chart Options script no longer working in JMP17

Hi Jarmo,

 

Thanks for sharing.  I am on JMP17.0.0

 

I just tried pasting your script and running it, I could still see the Box Plots.

 

What I further discovered was that if the JMP Preference - Platform - Variability Charts options were selected/ticked to enable the said option, then JSL couldn't toggle it.  But if the option were not selected/ticked to begin with, JSL could toggle it -- this is referring to JMP17.