cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
tom_abramov
Level V

Variability chart for columns as list in JSL

Hi,

What is the way to run Variability chart with X axises from list of strings.

Thanks.

 

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
columns_list = {"sex","age"};
Variability Chart( Y( :height ), X( columns_list ) );

 

 
 
 
 
 
1 ACCEPTED SOLUTION

Accepted Solutions
ian_jmp
Level X

Re: Variability chart for columns as list in JSL

NamesDefaultToHere(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
columns_list = {"sex", "age"};
dt << Variability Chart( Y( :height ), X( Eval(columns_list )) );

View solution in original post

2 REPLIES 2
ian_jmp
Level X

Re: Variability chart for columns as list in JSL

NamesDefaultToHere(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
columns_list = {"sex", "age"};
dt << Variability Chart( Y( :height ), X( Eval(columns_list )) );
ron_horne
Super User (Alumni)

Re: Variability chart for columns as list in JSL

Hi @tom_abramov ,

 

please have a look at this script and let us know if it works for you:

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
columns_list = {"sex", "age"};
// in separate windows - 
For( i = 1, i <= N Items( columns_list ), i++,
	Variability Chart( Y( :height ), X( columns_list( i ) ) )
);

// in same window 
New Window( "Variability Chart",
	Lineup Box(
		N Col( N Items( columns_list ) ),
		For( i = 1, i <= N Items( columns_list ), i++,
			Variability Chart( Y( :height ), X( columns_list( i ) ) ), 
	
		)
	)
);

 

 

ron

 

Recommended Articles