cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
AdamWinnifrith
Level II

Creating a gif of a rotating surface plots and profiler for use in Presentations

I am trying to create a gif of a rotating surface plot/profiler for use in a PowerPoint Presentation.

I have seen that you can export gif animations of bubble plots (https://community.jmp.com/t5/JMP-On-Air/Exporting-GIF-Animations-in-JMP/ta-p/261011) and that there is an add in for doing this for scatter plots (https://community.jmp.com/t5/JMP-Add-Ins/3D-Plot-Tools/ta-p/48699) but I haven't seen anything for Surface Plots or Profilers.

Is there any current way to do this in JMP?

Otherwise, inspired by this example (https://community.jmp.com/t5/Discussions/Saving-JMP-animation/m-p/37025), I think I could use JSL to create a FOR loop that changes the Z axis of my graph by 1 degree in each loop, saves the image each time and then creates a gif (example below?)

AdamWinnifrith_0-1668688913406.png

 

I haven't used JSL before so I wanted to check whether this was already possible and if my idea is feasible before I begin!

Thank you!

2 REPLIES 2
AdamWinnifrith
Level II

Re: Creating a gif of a rotating surface plots and profiler for use in Presentations

 I have created a temporary workaround for this!
1) Download the 3D Plots Tools Add In

2) Open in Add In Builder File -> Open Navigate to the file for 3D plots Use the drop down open button to open with add in builder

3) Navigate to Menu Items -> click on 3D plot tools

AdamWinnifrith_0-1668707783602.png

 

4) At line 74, comment out

s3dwins = filter( wins, Expr( checkifs3d ) );

and replace with:

s3dwins = wins;

As below:

AdamWinnifrith_1-1668707810823.png

(This removes the requirement to only show scatter plots in the list of open windows)

5) Change the rotation axis to the z-axis as this works a lot better for Surface Plots using the below change (I've also found that a y angle of 180 works well

AdamWinnifrith_2-1668707934470.png

 

I'll try to come up with a nicer way of doing this and then push to the github!

 

 

AdamWinnifrith
Level II

Re: Creating a gif of a rotating surface plots and profiler for use in Presentations

Apologies a y angle of 0 and x angle of -65 works well for the Surface Profilers