- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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 ) );
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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 ) );