cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
miguello
Level VI

Markers fast drawing

I have a script that draws bunch of plots and saves them as a PPTX file.

Due to various reasons I have to form a journal first, then save it to PPTX.

My plots have more than 50000 points.

I set my plot in Graph Builder to best represent the data - that also includes setting marker size to 6. Data is unreadable if markers are normal size.

Now, when I save the plot to journal, since number of points is above the default threshold, it reverts to fast drawing and therefore to preferred size.

Graph becomes unreadable.

How do I tell JMP NOT to revert it to fast when putting graph to journal?

Increasing default threshold woudn't help because the script will be executed by various users accessing it on shared drive. 

 

1 ACCEPTED SOLUTION

Accepted Solutions
julian
Community Manager Community Manager

Re: Markers fast drawing

Hi @miguello,

It's not an ideal solution, but perhaps you could add the code to set your users' threshold preference to a high enough value that you don't run into this issue. Here is some code that will get their current settings, then set to a large value, and then the code at the end to return the user's settings back to what they had.

//get current Fast Marker Threshold
currentFMT = arg(arg(Preferences[1] << Get("Fast Marker Threshold")));

//set temporary Fast Marker Threshold
Set Preferences( Fast Marker Threshold( 100000 ) );

//return user's setting after script
Set Preferences( Fast Marker Threshold( currentFMT ) );

@julian

View solution in original post

1 REPLY 1
julian
Community Manager Community Manager

Re: Markers fast drawing

Hi @miguello,

It's not an ideal solution, but perhaps you could add the code to set your users' threshold preference to a high enough value that you don't run into this issue. Here is some code that will get their current settings, then set to a large value, and then the code at the end to return the user's settings back to what they had.

//get current Fast Marker Threshold
currentFMT = arg(arg(Preferences[1] << Get("Fast Marker Threshold")));

//set temporary Fast Marker Threshold
Set Preferences( Fast Marker Threshold( 100000 ) );

//return user's setting after script
Set Preferences( Fast Marker Threshold( currentFMT ) );

@julian