BookmarkSubscribe
Choose Language Hide Translation Bar
wr
wr
Community Trekker

How to freeze the display in JSL

Hi, I have a graph with several arrays of labels that are selected for display by the user. When I turn them all off, they are updated sequentially. Is there a way to freeze the display (say, similar to the "ScreenUpdating" command in Visual Basic) so that I can write (or remove all the labels) and then update/refresh the screen so that they don't appear/disappear sequentially? (I tried the display box "inval" command on the new window but it didn't help).

Thanks.

0 Kudos
2 REPLIES 2
ABI
ABI
Community Trekker

Re: How to freeze the display in JSL

This is a ridiculously old thread, but I've searched for the answer for this question many, many times and it's the only post that comes up on Google. So, if anyone in the future is looking for this functionality and comes across this post, you're after the <<BeginDataUpdate and <<EndDataUpdate methods for datatables.

 

Example:

dt = CurrentDataTable();
dt<<BeginDataUpdate;
//do stuff
dt<<EndDataUpdate;
Highlighted
txnelson
Super User

Re: How to freeze the display in JSL

The way to freeze such display, is to move the display to a JMP Journal.

 

Interactively, you click on the chart and then use the CNTL/J to copy to a new journal.

 

In JSL:

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = Bivariate( Y( :Weight ), X( :Height ) );
obj << Save Script to Journal;

 

 

Jim
0 Kudos