Scripting Guide > Scripting Graphs
Publication date: 07/08/2024

Scripting Graphs

Editing and Creating Two-Dimensional Graphs

The JSL script for a graph contains expressions that create shapes and lines, apply fill patterns, assign background colors, and so on. You can also right-click a graph and select Customize to add the same expressions in JMP.

This chapter also describes how to customize hover labels with rich text, images, and drill-down graphs.

For information about scripting three-dimensional graphs, see the chapter Three-Dimensional Scenes.

Contents

Add Scripts to Graphs

Specify the Order of Graphical Elements

Create New Graphs from Scratch and Customize Them

Customize Graphs
Create Shapes for a Bubble Plot
How to Find Shapes

Add Lines, Arrows, Points, Shapes, and Text

Draw Lines
Draw Arrows
Draw Markers
Draw Pies and Arcs
Draw Regular Shapes: Circles, Rectangles, and Ovals
Draw Irregular Shapes: Polygons and Contours
Add Text
Specify Colors in JMP Graphs
Specify Transparency in JMP Graphs
Add Fill Patterns
Specify Line Types in JMP Graphs
Draw with Pixels

Interactive Graphs

Handle()
Mousetrap()
Drag Functions in JMP Graphs
Troubleshoot Interactive Graphs

Create a Color Picker

Clip Display Segs in Graphics

Create Background Maps

Graph Box Commands

Plot Functions
Get the Properties of a Graphics Frame
Add a Legend

Hover Labels

Add Rich Text to Hover Labels Using Textlets
Add Graphs or Images to Hover Labels Using Graphlets
Update Names and Values in Hover Labels Using Gridlets
Create Drill-Down Graphs from Hover Labels
Work with the Hover Label Execution Context
Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).