O'Reilly logo

JMP 11 Scripting Guide, Second Edition, 2nd Edition by SAS Institute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding Scripts to Graphs
If you context-click (right-mouse-button) on the graphics frame, you can enter or paste JSL commands. The script usually contains drawing commands that run in the context of the graphics frame. For example:
1. Open the Big Class.jmp data table.
2. Select Analyze > Fit Y by X.
3. Choose Height for X and Weight for Y, and click OK.
4. Right-click inside the graph.
5. Select Customize from the context menu.
6. Click the plus button to add a new graphics script.
7. Type this text and click OK.
text({55,160},"Hello World");
Now the graph has a text element at the graph’s x-coordinate 55 and y-coordinate 160.
Figure 12.1 Adding a Script to a Graph Interactively
By default, graphics scripts appear on top of the data. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required