Loops
Problem You need to execute some JSL more than once. Solution Use a for(...) or while(...) or one of the more exotic variations. The for loop ...
Problem You need to execute some JSL more than once. Solution Use a for(...) or while(...) or one of the more exotic variations. The for loop ...
Problem Suppose you prompt a user to make a selection. When you retrieve the values from the user, typically they are stored in a list. Now you...
Access usernames and passwords without saving them in your script or code.
Problem You want to use a Slider Box to set a continuous value, and you want to see the current value as you move the slider. Solution Make a ...
Problem You need to build a custom calculator that displays a table of numbers based on several input values. Solution Use Number Edit Boxes t...
We are in the process of revamping the JSL Cookbook to give it broader appeal, make it better organized, and easier to use. The focus will be on...
Insert variables or expressions into other expressions. This is a brief introduction to Eval(), Eval Expr(), Substitute(), Parse(), and Eval Ins...
ProblemYou need to look at every element in an Associative ArraySolutionuse the
Problem Suppose your data table has a set of rows selected. Now, you want to select rows from that selection that meet an additional condition....
Problem You have some code that you want to call from more than one place, maybe with different arguments. Solution Use a user written functio...
Problem You have data in a Matrix and need a Data Table, or the other way 'round Data table or matrix? Solution There is a function, AsTable(),...
Problem Concatenate data tables using Files in Directory, without using Multiple File Import Solution Use Files in Directory to make a list ...
Problem APIs and other machine generated code often delivers very complicated data structures. I found it helpful to have a tool that analyzes t...
Get the code to submit a call to MapQuest REST APIs
Get geo-codes from MapQuest without the need to care about details of the interface.
Get routing information from MapQuest without the need to care about details of the interface.
Problem You have a 2D matrix. You used the Loc function to locate interesting elements, but Loc returned indexes for a 1D matrix. How can you co...
ProblemI wanted to create this figure for a publication SolutionTo create the vertically oriented shaded/filled and truncated normal curves, I ut...
Problem You know some C++ and have some idea what a C++ object is and need the 20 minute intro to JMP's scripting language. Solution There is...
Problem If you need to open a file in an external program, typically the JSL Open() function will work for you. However, if you want to open a f...
Problem When creating user interfaces in JMP, you may want to add some background or foreground colors to your displays. However, with JMP 15's ...
ProblemYou have data in one or more lists or matrix vectors that you need to sort.SolutionUse Sort List() or Sort List Into(), Rank(), or put the...
Problem Suppose you wish to select rows in a data table that meet more than one condition. Or, maybe you want to select the rows that meet one o...
ProblemProblem 1: I need to get a list of the unique values in a data table column.Problem 2: I need to get a list of the unique values in a JS...
reference lines automatically added using JSL