cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Joost
Level II

How to set the value in a NumberColEditBox from JSL?

I made a Ternairy plot, like the one in JMP  via Help > Help tool click on ternairy plot, "Additional Examples of the Ternary Plot Platform" > "Example of a Ternary Plot with a Contour Function". This example has a NumberColEditBox for Temperature. My situation is comparable. In this box I want to change the value from within a JSL script and not by using the slider, but I cannot find out how to do that. Please help! I am using JMP 18.

1 REPLY 1
txnelson
Super User

Re: How to set the value in a NumberColEditBox from JSL?

Here is a simple example

names default to here(1);
dt=
// Open Data Table: Fish Patty.jmp
// → Data Table( "Fish Patty" )
Open( "$SAMPLE_DATA/Fish Patty.jmp" );

Ternary Plot(
	X( :Mullet, :Sheepshead, :Croaker ),
	Contour Formula( :Predicted Rating )
);

current report()[NumberColEditBox(2)]<<set({55});

To get the path to the NumberColEditBox, right click on the graph and select Show Properties, then click on the NumberColEditBox and look at the Box Path

txnelson_0-1749131543726.png

 

Jim

Recommended Articles