I'm new to JMP and scripting, and currently using JMP 17. I inherited a JMP file that has data and a script for visualizing (in line trends mostly) the data. I was asked to update the file with new data and get the trending aligned, but the script uses reference variables that seem to have built-in values (highlighted in red), since a set of values matching "[1, 2, 3] pops up when hovering over xxy:
"Graph Builder",
FrameBox,
{Add Graphics Script(
3,
Description( "+3SD" ),
Line Style( 0 );
Pen Color( "dark gray" );
Pen Size( 2 );
If( Is Empty( xxy ),
xxy = [1, 2, 3];
yyz = [4, 5, 6];
);
Drag Line( xxy, yyz );
),
Even if I change the values for [1, 2, 3] in the line that follows, the graph still shows the original reference line when the script runs. How would I go about updating the reference lines to incorporate the new data? I'm sure this problem stems from my lack of understanding the basics of scripting in JSL, but any help would be appreciated.