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
blue1994
Level III

Combining the Chart

Hi,

I have 3 separate variability chart, and now i want to combine all the 3 variability chart together in one interface.

Is it possible  the JSL can do this?

 

Thanks

4 ACCEPTED SOLUTIONS

Accepted Solutions
txnelson
Super User

Re: Combining the Chart

Here is a simple script that puts together 3 different variability charts.  You need to read the scripting guide to get a well rounded education on how powerful JSL is:

     Help==>Books==>Scripting Guide

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\semiconductor capability.jmp" );

New Window( "Variability Charts",
	H List Box(
		Variability Chart(
			Y( :NPN1 ),
			X( :SITE ),
			Max Iter( 100 ),
			Conv Limit( 0.00000001 ),
			Number Integration Abscissas( 128 ),
			Number Function Evals( 65536 ),
			Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
			Std Dev Chart( 1 )
		),
		Variability Chart(
			Y( :NPN1 ),
			X( :Lot_id ),
			Max Iter( 100 ),
			Conv Limit( 0.00000001 ),
			Number Integration Abscissas( 128 ),
			Number Function Evals( 65536 ),
			Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
			Std Dev Chart( 1 )
		),
		Variability Chart(
			Y( :NPN1 ),
			X( :wafer ),
			Max Iter( 100 ),
			Conv Limit( 0.00000001 ),
			Number Integration Abscissas( 128 ),
			Number Function Evals( 65536 ),
			Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
			Std Dev Chart( 1 )
		)
	)
);

 

Jim

View solution in original post

Re: Combining the Chart

Jim's answer is correct, of course, for you specific question. But did you know that you do not need a script to achieve this result?

With the three Variability Chart platforms open, click the check box in the lower right corner of each platform. They should look like this:

Capture.JPG

Now click the black triangle in the same corner and select Combine Windows.

Capture.JPG

You are given some more choices:

Capture.JPG

You are done when you click OK if this dashboard is a one-time thing but if you want to re-use it in the future, click the top left red triangle next to Report:

Capture.JPG

This feature is fully described in Help > Books > Using JMP.

View solution in original post

Re: Combining the Chart

You could also use File > New > New Dashboard.  This has a drag and drop interface with results similar to what @Mark_Bailey shows.  It also writes all the JSL for you so you can just use the Save Script > to Data Table under the Dashboard's Red Triangle Menu to get the code built into the data table.

 

Best,

 

M

View solution in original post

Peter_Bartell
Level VIII

Re: Combining the Chart

And to pile onto my colleagues' @MikeD_Anderson and @Mark_Bailey remarks taking it one step further from either the Dashboard path or Combined Windows view, once your window if final, you can, from the JMP main menu bar select File -> Save As -> Save as Type: Interactive HTML with Data and you'll create an HTML object that anybody with a browser can open, view and have limited interactivity which is JMP's hallmark.

View solution in original post

6 REPLIES 6
txnelson
Super User

Re: Combining the Chart

Here is a simple script that puts together 3 different variability charts.  You need to read the scripting guide to get a well rounded education on how powerful JSL is:

     Help==>Books==>Scripting Guide

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\semiconductor capability.jmp" );

New Window( "Variability Charts",
	H List Box(
		Variability Chart(
			Y( :NPN1 ),
			X( :SITE ),
			Max Iter( 100 ),
			Conv Limit( 0.00000001 ),
			Number Integration Abscissas( 128 ),
			Number Function Evals( 65536 ),
			Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
			Std Dev Chart( 1 )
		),
		Variability Chart(
			Y( :NPN1 ),
			X( :Lot_id ),
			Max Iter( 100 ),
			Conv Limit( 0.00000001 ),
			Number Integration Abscissas( 128 ),
			Number Function Evals( 65536 ),
			Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
			Std Dev Chart( 1 )
		),
		Variability Chart(
			Y( :NPN1 ),
			X( :wafer ),
			Max Iter( 100 ),
			Conv Limit( 0.00000001 ),
			Number Integration Abscissas( 128 ),
			Number Function Evals( 65536 ),
			Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
			Std Dev Chart( 1 )
		)
	)
);

 

Jim
Greenhorn
Level III

Re: Combining the Chart

Dear Jim,

 

I tried this proposal to combine the charts. It works.

Now, I'd like to have the results in one table.

I did it with "right click" and "Make Combined Data Table".

It still works. But I'd like to have this piece of code in my script.

JMP doesn't generate a script/code in a new table.

 

Can you give me an advice how to address the boxes correctly?

 

This was a working solution before I combined the charts:

Report( platform[1] )[Outline Box( "Gauge R&R" )][Table Box( 1 )] << Make Combined Data Table;
txnelson
Super User

Re: Combining the Chart

Here is an example that creates the combined output table you want

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\semiconductor capability.jmp" );

New Window( "Variability Charts",
	H List Box(
		vc = Variability Chart(
			Y( :NPN1 ),
			X( :SITE ),
			Model( "Main Effect" ),
			Historical Sigma( 0 ),
			"Gauge R&R"n( 6, 27.48 ),
			"Gauge R&R Report"n( 1 )
		),
		Variability Chart(
			Y( :NPN1 ),
			X( :lot_id ),
			Model( "Main Effect" ),
			Historical Sigma( 0 ),
			"Gauge R&R"n( 6, 27.48 ),
			"Gauge R&R Report"n( 1 )
		),
		Variability Chart(
			Y( :NPN1 ),
			X( :wafer ),
			Model( "Main Effect" ),
			Historical Sigma( 0 ),
			"Gauge R&R"n( 6, 27.48 ),
			"Gauge R&R Report"n( 1 )
		)
	)
);
report(vc)["Gauge R&R"][TableBox(1)]<<make combined data table;
Jim

Re: Combining the Chart

Jim's answer is correct, of course, for you specific question. But did you know that you do not need a script to achieve this result?

With the three Variability Chart platforms open, click the check box in the lower right corner of each platform. They should look like this:

Capture.JPG

Now click the black triangle in the same corner and select Combine Windows.

Capture.JPG

You are given some more choices:

Capture.JPG

You are done when you click OK if this dashboard is a one-time thing but if you want to re-use it in the future, click the top left red triangle next to Report:

Capture.JPG

This feature is fully described in Help > Books > Using JMP.

Re: Combining the Chart

You could also use File > New > New Dashboard.  This has a drag and drop interface with results similar to what @Mark_Bailey shows.  It also writes all the JSL for you so you can just use the Save Script > to Data Table under the Dashboard's Red Triangle Menu to get the code built into the data table.

 

Best,

 

M

Peter_Bartell
Level VIII

Re: Combining the Chart

And to pile onto my colleagues' @MikeD_Anderson and @Mark_Bailey remarks taking it one step further from either the Dashboard path or Combined Windows view, once your window if final, you can, from the JMP main menu bar select File -> Save As -> Save as Type: Interactive HTML with Data and you'll create an HTML object that anybody with a browser can open, view and have limited interactivity which is JMP's hallmark.