dt = Open( "$SAMPLE_DATA/Big Class.jmp", invisible);
•
|
Drawing objects is slow. Suppose that you have a graph with a lot of data. The platform does complicated calculations or the data table contains a formula. Adding a row can require a lot of processing. Use Begin Data Update() so you only redraw the graph once instead of for each change. Begin Data Update() saves all update messages until End Data Update() is reached.
|
dt = Open( "MyData.jmp" );
dt << Distribution(
Column( :Name( "N=1" ), :Name( "N=5" ), :Name( "N=10" ) )
);
Wait(1);
dt << Begin Data Update;
dt << Add Rows( 2000 );
dt << End Data Update;
•
|
The use of functions might help speed things up, for example, using the Summarize() function rather than creating a Summary table. Maintaining a data table can be too much overhead. See Store Summary Statistics in Global Variables in Data Tables for details.
|