cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • We’re improving the Learn JMP page, and want your feedback! Take the survey
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