Saving Variability Charts as PDF only one chart being savedHello,
I've made a script to make variability charts and I'm trying to save as a PDF. Looking through other discussions I found how to save as PDF. The issues is that I've 7 charts but only the last one is actually being saved in the PDF. Is there something that I'm missing that could be causing this?
vc = Data Table( "Data Accept" ) << Variability Chart(
Y( Column( "Bin_VALUE" ) ),
X( :Status_Type ),
By( :Product, :Bin_Size ),
Show Box Plots( 1 ),
Std Dev Chart( 0 ),
Points Jittered( 1 )
);
TestReport= vc;
TestReport << Set page setup( margins( 0.5, 0.5, 0.5, 0.5 ), scale( 0.80 ), header( 0), footer( 0), portrait( 1 ));
TestReport << SavePDF("$root\" || IDNumber || ".pdf");Thanks
Re: Saving Variability Charts as PDF only one chart being saved
@Herrera5238 wrote:
So is the vc[1] telling it to use the first on the list?
Yes. You use [] to subscript into a list.
FYI, I tried following your links for "list" and "platforms" but it said page not found.
The other three links worked fine.
Yikes! Sorry about that. I've corrected them in the post above.
Re: Saving Variability Charts as PDF only one chart being savedThanks Jeff. I applied your code and it worked.
So is the vc[1] telling it to use the first on the list?
FYI, I tried following your links for "list" and "platforms" but it said page not found.
The other three links worked fine.
Thanks for our help!
Re: Saving Variability Charts as PDF only one chart being savedWhen you use a By() option in a platform the result is a list of platforms.
So, you'll need to get to the parent display box of one of reports of one of the platforms using the < message.
dt=open("$SAMPLE_DATA\Variability Data\3 Factors Nested & Crossed.jmp");
vc = dt<<VARIABILITY chart=""></VARIABILITY>
Be sure to look at the log window after running the example above. The show(vc) will demonstrate that vc has a list of Variability platforms.