cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

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