Step
Step using Run Script
Example 1
Summary: Executes a Bubble Plot script and selects specific country data, stepping through the plot 27 times.
Code:
dt = Open("data_table.jmp");
bp = dt << Run Script( "Bubble Plot Dynamic" );
dt << Select Where( :Country == 3365 );
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
Code Explanation:
- Open data table.
- Run Bubble Plot script.
- Select specific country.
- Step through Bubble Plot 27 times.
Example 2
Summary: Executes a Bubble Plot Dynamic script with 31 steps, selecting rows where Country is 3365.
Code:
dt = Open("data_table.jmp");
bp = dt << Run Script( "Bubble Plot Dynamic" );
dt << Select Where( :Country == 3365 );
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
Code Explanation:
- Open data table;
- Run Bubble Plot Dynamic script.
- Select rows where Country is 3365.
- Execute Step command 31 times.
Example 3
Summary: Runs a dynamic bubble plot to visualize data for a specific country, with interactive features enabled for gap selection.
Code:
dt = Open("data_table.jmp");
bp = dt << Run Script( "Bubble Plot Dynamic" );
dt << Select Where( :Country == 3365 );
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Step();
bp << Selectable Across Gaps( 1 );
Code Explanation:
- Open data table.
- Run Bubble Plot script.
- Select specific country.
- Advance bubble plot steps multiple times.
- Enable selectable across gaps.
Example 4
Summary: Creates a bubble plot by region, utilizing the Run Script function to execute the 'Bubble Plot by Region' script and advance through subsequent steps.
Code:
dt = Open("data_table.jmp");
bp = dt << Run Script( "Bubble Plot by Region" );
bp << Step();
bp << Step();
Code Explanation:
- Open data table.
- Run "Bubble Plot by Region" script.
- Advance to next step.
- Advance to next step.
Example 5
Summary: Create and execute a bubble plot script with three steps, utilizing JMP's Run Script functionality.
Code:
dt = Open("data_table.jmp");
bp = dt << Run Script( "Bubble Plot by Region" );
bp << Step();
bp << Step();
bp << Step();
Code Explanation:
- Open table.
- Run bubble plot script.
- Execute first step.
- Execute second step.
- Execute third step.
Example 6
Summary: Creates and customizes a bubble plot by region, utilizing JMP's Run Script feature.
Code:
dt = Open("data_table.jmp");
bp = dt << Run Script( "Bubble Plot by Region" );
bp << Step();
bp << Step();
bp << Step();
bp << Close Window();
Code Explanation:
- Open table.
- Run script for Bubble Plot.
- Step through plot.
- Step through plot.
- Step through plot.
- Close plot window.