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
gtroey86
Level I

How to save Process Performance Graph as JPEG/PNG?

Hi JMP, 

 

Let's take the big class as an example. 

Do you have a JSL script example to export the process performance graph as a JPEG/PNG? Currently, I manually copy the graph to clipboard and paste it at my pptx. Wish to have automate way of doing it.

By the way, I set a random number for the spec limit just to produce the process performance graph.

 

gtroey86_0-1618008971882.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: How to save Process Performance Graph as JPEG/PNG?

Here is a simple script to show one way of saving the graph to PowerPoint

pp.PNG

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\semiconductor capability.jmp" );
ps = Process Screening(
	Process Variables( :NPN1 ),
	Control Chart Type( "Indiv and MR" ),
	Process Performance Graph( 1 )
);
Report( ps )["Process Performance Graph"] << save presentation( "$TEMP\mygraph.pptx" );

Open( "$TEMP\mygraph.pptx" );

 

Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: How to save Process Performance Graph as JPEG/PNG?

Here is a simple script to show one way of saving the graph to PowerPoint

pp.PNG

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\semiconductor capability.jmp" );
ps = Process Screening(
	Process Variables( :NPN1 ),
	Control Chart Type( "Indiv and MR" ),
	Process Performance Graph( 1 )
);
Report( ps )["Process Performance Graph"] << save presentation( "$TEMP\mygraph.pptx" );

Open( "$TEMP\mygraph.pptx" );

 

Jim
gtroey86
Level I

Re: How to save Process Performance Graph as JPEG/PNG?

HI Nelson,

 

Appreciate your prompt response. It works well !