cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar

how should I export multiple graphs in Graph Builder into powerpoint

Hi all,

 

I need some help. I am trying output all these graphs generated in Graph Builder into powerpoint. 

GB = dt1 << Graph Builder(
	Size( 1746, 750 ),
	Show Control Panel( 0 ),
	Variables(
		X( :Parameter, Order By( :Mean, Descending, Order Statistic( "Mean" ) ) ),
		Y( :Mean ),
		Group Y( :Code ID ),
		Overlay( :Status )
	),
	Elements( Bar( X, Y, Legend( 1 ) ) ),
	By( :SequenceTest ),
	SendToReport(
		Dispatch(
			{},
			"Parameter",
			ScaleBox,
			{Label Row(
				{Automatic Font Size( 0 ), Label Orientation( "Perpendicular" ),
				Tick Mark Style( "Short Divider" ), Set Font Size( 10 )}
			)}
		),
		Dispatch( {}, "graph title", TextEditBox, {Set Text( "Comparison" )} )
	)

);

 

I have tried many ways to put this into pptx but did not get it correct though. Most of the jsl codes would either enable me to output the last graph only or with an additional graph (A,B,C,D... +A) when I use the append function. 

 

Would need advice on this. 

 

Thank you, 

CD

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: how should I export multiple graphs in Graph Builder into powerpoint

Use 

Save Presentation( );
for each( {graph, i}, gb,
	if(i==1,gb[i]<< Save Presentation( "$TEMP/jmp_example.pptx"),
	gb[i]<< Save Presentation( "$TEMP/jmp_example.pptx",append ););
);
Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: how should I export multiple graphs in Graph Builder into powerpoint

Use 

Save Presentation( );
for each( {graph, i}, gb,
	if(i==1,gb[i]<< Save Presentation( "$TEMP/jmp_example.pptx"),
	gb[i]<< Save Presentation( "$TEMP/jmp_example.pptx",append ););
);
Jim

Re: how should I export multiple graphs in Graph Builder into powerpoint

Thanks Jim ! It works !