Saving garph to powerpoint without local filterI 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=""></SAVE>Re: Saving garph to powerpoint without local filterOn the local data filter bit - you just need to change your local data filter to have a closed outline box. Here's an example of a graph builder snippet. The important bit is annotated.
Graph Builder(
Size( 532, 452 ),
Show Control Panel( 0 ),
Variables( X( :height ), Y( :weight ) ),
Elements( Points( X, Y, Legend( 7 ) ), Smoother( X, Y, Legend( 8 ) ) ),
Local Data Filter(
Close Outline( 1 ),// This line closes the outline box
Add Filter( columns( :sex ), Where( :sex == "F" ) )
)
);
Anything that has a closed outline box will not show up in the powerpoint file.
Best,
M