I would like to save the graph area without the local filter, not the gray area to my powerpoint. So far, it saves 4 slides for 2 graphs. One slide has the local filter, and the other has the actual graph area. I would only like it to export the graph area since it's a high resolution.
This is the code I have so far:
graph1 is a variability graph, graph3 is a distribution graph. Also if possible, is it possible to save both graphs in one picture?
obj = New Window("TJ mUI " || Long Date(Today()),
V List Box( "vlb1", Panel Box( "Figure 1", graph1 ), Page Break Box(), Panel Box( "Figure 2", graph3 )));
obj << Set page setup(margins (1,1,1,1),
scale(1),
portrait(1),
paper size("Letter"));
path = "Z:\SAF\JMP_Data\";
obj <<save picture(path || "testPNG.png", png);
obj << save presentation("Z:\SAF\JMP_Data\jmp_powerpoint_example.pptx");