Scripting Guide > JMP Notebooks > Create a Simple Notebook
发布日期: 09/15/2026

Create a Simple Notebook

1. Select File > New > JMP Notebook.

2. Double-click “Untitled Notebook” and type “Big Class Correlation”.

3. Add a new block by selecting the red triangle and Add New Block > JSL.

4. Name the JSL block by right-clicking in the header and selecting Block Name.
Type “Run this JSL”.

5. Copy the following code and paste it into the JSL block:
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Run Script( "Bivariate" );

6. Create another block by selecting the red triangle and Add New Block > Text.

7. Copy the following text into the new text block:
# Shocking Correlation
Data reveals that *weight* can _increase_ with *height*.

8. Click the “Big Class Correlation” red triangle and select Show Embedded Log.

9. Click the “Big Class Correlation” red triangle and select Run All Scripts.

Note four things:

• In the JSL code, there are now annotations that can help you visualize what a script is doing, especially if commands stretch several lines.

• The output is displayed below the code block.
The normal output options are available, including “Platform Presets”.

• The text block markup is now rendered.

• The script actions are logged in the notebook log and not the regular JMP log.

If you save the notebook, the output is not saved.

需要更多信息?有问题?从 JMP 用户社区得到解答 (community.jmp.com).