I've written a script that loops and generates graphs from a table based on conditions. I want to save each of those graphs to the table as a script so that if I needed to view that data I can go back to it. When I use the function "<<Save script to data table" the graph-script successfully saves to the table. It also open the graph once the looping is complete. I was wondering if there was a way to save the script to the table without opening the graph (or running the script that is being saved).
A boiled down version of the script save looks like this...
a = Expr(
new_graph = Graph Builder(
Size( 1000, 800 ),
Show Control Panel( 0 ),
Variables( X( :variable1 ), Y( :variable1 ) )
)
);
a << Save script to data table( "name_of_graph_script" );
**I've also tried the last line as the following but the graph still appears after running this...
a << Save script to data table( "name_of_graph_script", <<Prompt( 0 ) );