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

JSL: Saving multiple chart and auto fit each of them into 1 page

I have created a Window with V List Box which contained multiple Variability Charts and tried to save them into 1 pdf. What i want to achieve is saving and auto scale each of the Variability Charts into 1 single page of pdf. Can anyone help to advise how to do that? Much appreciated!

nw = New Window( "taskQueryCharzCurrent - Variability Chart of current",
	V List Box(
		Variability Chart(
			Y( :current ),
			X( :MPN_substr, :cap_gb ),
			Variability Summary Report( 1 ),
			Std Dev Chart( 0 ),
			Points Jittered( 1 ),
			Show Box Plots( 1 ),
			Mean Diamonds( 1 ),
			SendToReport(
				Dispatch(
					{"Variability Chart for current"},
					"Variability Chart",
					FrameBox,
					{Frame Size( 432, 280 )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Std Err Mean",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Lower 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Upper 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Median",
					NumberColBox,
					{Visibility( "Collapse" )}
				)
			),
			Where(
				:form_factor == "E1.S" & :test_name ==
				"ABIT::MEASURELOADCURRENTHAL:1_PONABITCURRENTMEASURE"
			)
		),
		Variability Chart(
			Y( :current ),
			X( :MPN_substr, :cap_gb ),
			Variability Summary Report( 1 ),
			Std Dev Chart( 0 ),
			Points Jittered( 1 ),
			Show Box Plots( 1 ),
			Mean Diamonds( 1 ),
			SendToReport(
				Dispatch(
					{"Variability Chart for current"},
					"Variability Chart",
					FrameBox,
					{Frame Size( 432, 280 )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Std Err Mean",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Lower 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Upper 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Median",
					NumberColBox,
					{Visibility( "Collapse" )}
				)
			),
			Where(
				:form_factor == "E1.S" & :test_name ==
				"ABIT::MEASURELOADCURRENTHAL:2_MTFWABITCURRENTMEASURE"
			)
		),
		Variability Chart(
			Y( :current ),
			X( :MPN_substr, :cap_gb ),
			Variability Summary Report( 1 ),
			Std Dev Chart( 0 ),
			Points Jittered( 1 ),
			Show Box Plots( 1 ),
			Mean Diamonds( 1 ),
			SendToReport(
				Dispatch(
					{"Variability Chart for current"},
					"Variability Chart",
					FrameBox,
					{Frame Size( 432, 280 )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Std Err Mean",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Lower 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Upper 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Median",
					NumberColBox,
					{Visibility( "Collapse" )}
				)
			),
			Where(
				:form_factor == "E1.S" & :test_name ==
				"ABIT::MEASURELOADCURRENTHAL:3_POSTMTFWCURRENTMEASURE"
			)
		),
		Variability Chart(
			Y( :current ),
			X( :MPN_substr, :cap_gb ),
			Variability Summary Report( 1 ),
			Std Dev Chart( 0 ),
			Points Jittered( 1 ),
			Show Box Plots( 1 ),
			Mean Diamonds( 1 ),
			SendToReport(
				Dispatch(
					{"Variability Chart for current"},
					"Variability Chart",
					FrameBox,
					{Frame Size( 432, 280 )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Std Err Mean",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Lower 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Upper 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Median",
					NumberColBox,
					{Visibility( "Collapse" )}
				)
			),
			Where(
				:form_factor == "E1.S" & :test_name ==
				"SFN2::MEASURELOADCURRENT:1_PRESFN2CURRENTMEASURE"
			)
		),
		Variability Chart(
			Y( :current ),
			X( :MPN_substr, :cap_gb ),
			Variability Summary Report( 1 ),
			Std Dev Chart( 0 ),
			Points Jittered( 1 ),
			Show Box Plots( 1 ),
			Mean Diamonds( 1 ),
			SendToReport(
				Dispatch(
					{"Variability Chart for current"},
					"Variability Chart",
					FrameBox,
					{Frame Size( 432, 280 )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Std Err Mean",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Lower 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Upper 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Median",
					NumberColBox,
					{Visibility( "Collapse" )}
				)
			),
			Where(
				:form_factor == "E1.S" & :test_name ==
				"SFN2::MEASURELOADCURRENT:2_PRE2SFN2CURRENTMEASURE"
			)
		),
		Variability Chart(
			Y( :current ),
			X( :MPN_substr, :cap_gb ),
			Variability Summary Report( 1 ),
			Std Dev Chart( 0 ),
			Points Jittered( 1 ),
			Show Box Plots( 1 ),
			Mean Diamonds( 1 ),
			SendToReport(
				Dispatch(
					{"Variability Chart for current"},
					"Variability Chart",
					FrameBox,
					{Frame Size( 432, 280 )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Std Err Mean",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Lower 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Upper 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Median",
					NumberColBox,
					{Visibility( "Collapse" )}
				)
			),
			Where(
				:form_factor == "E1.S" & :test_name ==
				"SFN2::MEASURELOADCURRENT:4_POSTMITSFN2CURRENTMEASURE"
			)
		),
		Variability Chart(
			Y( :current ),
			X( :MPN_substr, :cap_gb ),
			Variability Summary Report( 1 ),
			Std Dev Chart( 0 ),
			Points Jittered( 1 ),
			Show Box Plots( 1 ),
			Mean Diamonds( 1 ),
			SendToReport(
				Dispatch(
					{"Variability Chart for current"},
					"Variability Chart",
					FrameBox,
					{Frame Size( 432, 280 )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Std Err Mean",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Lower 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Upper 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Median",
					NumberColBox,
					{Visibility( "Collapse" )}
				)
			),
			Where(
				:form_factor == "M.2" & :test_name ==
				"ABIT::MEASURELOADCURRENTHAL:1_PONABITCURRENTMEASURE"
			)
		),
		Variability Chart(
			Y( :current ),
			X( :MPN_substr, :cap_gb ),
			Variability Summary Report( 1 ),
			Std Dev Chart( 0 ),
			Points Jittered( 1 ),
			Show Box Plots( 1 ),
			Mean Diamonds( 1 ),
			SendToReport(
				Dispatch(
					{"Variability Chart for current"},
					"Variability Chart",
					FrameBox,
					{Frame Size( 432, 280 )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Std Err Mean",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Lower 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Upper 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Median",
					NumberColBox,
					{Visibility( "Collapse" )}
				)
			),
			Where(
				:form_factor == "M.2" & :test_name ==
				"ABIT::MEASURELOADCURRENTHAL:2_MTFWABITCURRENTMEASURE"
			)
		),
		Variability Chart(
			Y( :current ),
			X( :MPN_substr, :cap_gb ),
			Variability Summary Report( 1 ),
			Std Dev Chart( 0 ),
			Points Jittered( 1 ),
			Show Box Plots( 1 ),
			Mean Diamonds( 1 ),
			SendToReport(
				Dispatch(
					{"Variability Chart for current"},
					"Variability Chart",
					FrameBox,
					{Frame Size( 432, 280 )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Std Err Mean",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Lower 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Upper 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Median",
					NumberColBox,
					{Visibility( "Collapse" )}
				)
			),
			Where(
				:form_factor == "M.2" & :test_name ==
				"ABIT::MEASURELOADCURRENTHAL:3_POSTMTFWCURRENTMEASURE"
			)
		),
		Variability Chart(
			Y( :current ),
			X( :MPN_substr, :cap_gb ),
			Variability Summary Report( 1 ),
			Std Dev Chart( 0 ),
			Points Jittered( 1 ),
			Show Box Plots( 1 ),
			Mean Diamonds( 1 ),
			SendToReport(
				Dispatch(
					{"Variability Chart for current"},
					"Variability Chart",
					FrameBox,
					{Frame Size( 432, 280 )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Std Err Mean",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Lower 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Upper 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Median",
					NumberColBox,
					{Visibility( "Collapse" )}
				)
			),
			Where(
				:form_factor == "M.2" & :test_name ==
				"SFN2::MEASURELOADCURRENT:1_PRESFN2CURRENTMEASURE"
			)
		),
		Variability Chart(
			Y( :current ),
			X( :MPN_substr, :cap_gb ),
			Variability Summary Report( 1 ),
			Std Dev Chart( 0 ),
			Points Jittered( 1 ),
			Show Box Plots( 1 ),
			Mean Diamonds( 1 ),
			SendToReport(
				Dispatch(
					{"Variability Chart for current"},
					"Variability Chart",
					FrameBox,
					{Frame Size( 432, 280 )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Std Err Mean",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Lower 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Upper 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Median",
					NumberColBox,
					{Visibility( "Collapse" )}
				)
			),
			Where(
				:form_factor == "M.2" & :test_name ==
				"SFN2::MEASURELOADCURRENT:2_PRE2SFN2CURRENTMEASURE"
			)
		),
		Variability Chart(
			Y( :current ),
			X( :MPN_substr, :cap_gb ),
			Variability Summary Report( 1 ),
			Std Dev Chart( 0 ),
			Points Jittered( 1 ),
			Show Box Plots( 1 ),
			Mean Diamonds( 1 ),
			SendToReport(
				Dispatch(
					{"Variability Chart for current"},
					"Variability Chart",
					FrameBox,
					{Frame Size( 432, 280 )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Std Err Mean",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Lower 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Upper 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Median",
					NumberColBox,
					{Visibility( "Collapse" )}
				)
			),
			Where(
				:form_factor == "M.2" & :test_name ==
				"SFN2::MEASURELOADCURRENT:4_POSTMITSFN2CURRENTMEASURE"
			)
		),
		Variability Chart(
			Y( :current ),
			X( :MPN_substr, :cap_gb ),
			Variability Summary Report( 1 ),
			Std Dev Chart( 0 ),
			Points Jittered( 1 ),
			Show Box Plots( 1 ),
			Mean Diamonds( 1 ),
			SendToReport(
				Dispatch(
					{"Variability Chart for current"},
					"Variability Chart",
					FrameBox,
					{Frame Size( 432, 280 )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Std Err Mean",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Lower 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Upper 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Median",
					NumberColBox,
					{Visibility( "Collapse" )}
				)
			),
			Where(
				:form_factor == "U.3" & :test_name ==
				"ABIT::MEASURELOADCURRENTHAL:1_PONABITCURRENTMEASURE"
			)
		),
		Variability Chart(
			Y( :current ),
			X( :MPN_substr, :cap_gb ),
			Variability Summary Report( 1 ),
			Std Dev Chart( 0 ),
			Points Jittered( 1 ),
			Show Box Plots( 1 ),
			Mean Diamonds( 1 ),
			SendToReport(
				Dispatch(
					{"Variability Chart for current"},
					"Variability Chart",
					FrameBox,
					{Frame Size( 432, 280 )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Std Err Mean",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Lower 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Upper 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Median",
					NumberColBox,
					{Visibility( "Collapse" )}
				)
			),
			Where(
				:form_factor == "U.3" & :test_name ==
				"ABIT::MEASURELOADCURRENTHAL:2_MTFWABITCURRENTMEASURE"
			)
		),
		Variability Chart(
			Y( :current ),
			X( :MPN_substr, :cap_gb ),
			Variability Summary Report( 1 ),
			Std Dev Chart( 0 ),
			Points Jittered( 1 ),
			Show Box Plots( 1 ),
			Mean Diamonds( 1 ),
			SendToReport(
				Dispatch(
					{"Variability Chart for current"},
					"Variability Chart",
					FrameBox,
					{Frame Size( 432, 280 )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Std Err Mean",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Lower 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Upper 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Median",
					NumberColBox,
					{Visibility( "Collapse" )}
				)
			),
			Where(
				:form_factor == "U.3" & :test_name ==
				"ABIT::MEASURELOADCURRENTHAL:3_POSTMTFWCURRENTMEASURE"
			)
		),
		Variability Chart(
			Y( :current ),
			X( :MPN_substr, :cap_gb ),
			Variability Summary Report( 1 ),
			Std Dev Chart( 0 ),
			Points Jittered( 1 ),
			Show Box Plots( 1 ),
			Mean Diamonds( 1 ),
			SendToReport(
				Dispatch(
					{"Variability Chart for current"},
					"Variability Chart",
					FrameBox,
					{Frame Size( 432, 280 )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Std Err Mean",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Lower 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Upper 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Median",
					NumberColBox,
					{Visibility( "Collapse" )}
				)
			),
			Where(
				:form_factor == "U.3" & :test_name ==
				"SFN2::MEASURELOADCURRENT:1_PRESFN2CURRENTMEASURE"
			)
		),
		Variability Chart(
			Y( :current ),
			X( :MPN_substr, :cap_gb ),
			Variability Summary Report( 1 ),
			Std Dev Chart( 0 ),
			Points Jittered( 1 ),
			Show Box Plots( 1 ),
			Mean Diamonds( 1 ),
			SendToReport(
				Dispatch(
					{"Variability Chart for current"},
					"Variability Chart",
					FrameBox,
					{Frame Size( 432, 280 )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Std Err Mean",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Lower 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Upper 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Median",
					NumberColBox,
					{Visibility( "Collapse" )}
				)
			),
			Where(:form_factor == "U.3" & :test_name == "SFN2::MEASURELOADCURRENT:2_PRE2SFN2CURRENTMEASURE")
		),
		Variability Chart(
			Y( :current ),
			X( :MPN_substr, :cap_gb ),
			Variability Summary Report( 1 ),
			Std Dev Chart( 0 ),
			Points Jittered( 1 ),
			Show Box Plots( 1 ),
			Mean Diamonds( 1 ),
			SendToReport(
				Dispatch(
					{"Variability Chart for current"},
					"Variability Chart",
					FrameBox,
					{Frame Size( 432, 280 )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Std Err Mean",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Lower 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Upper 95%",
					NumberColBox,
					{Visibility( "Collapse" )}
				),
				Dispatch(
					{"Variability Chart for current",
					"Variability Summary for current"},
					"Median",
					NumberColBox,
					{Visibility( "Collapse" )}
				)
			),
			Where(
				:form_factor == "U.3" & :test_name ==
				"SFN2::MEASURELOADCURRENT:4_POSTMITSFN2CURRENTMEASURE"
			)
		)
	)
);


(nw << Journal);
// Obtain a reference to the journal
jj = Current Journal();

jj << Save PDF( "C:\Users\Desktop\plot\idle_current_measure.pdf");

jj << Close Window;
0 REPLIES 0