I literally just started learning JMP and JSL.
I am having a very hard time finding syntax information of functions, commands, etc..
I cannot find most things neither on the "JSL Syntax Reference" document or online. Do you have any suggestions for a comprehensive list of all JSL functions and commands?
For example, right now I am just trying to plot a graph specifying the legend names and colors. I want the "Legend 1" to appear at the second-last slot.
Stealing some different scripts online, I put together the following:
Graph Builder(
Size( 779, 677 ),
Show Control Panel( 0 ),
Variables( X( :X ), Y( :Y ), Wrap( :Items ), Color( :Name( "Legends" ) ) ),
Elements( Points( X, Y, Legend( 8 ) ) ),
SendToReport(
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
8,
Level Name( 0, "Legend 7", Item ID( "Legend 7", 1 ) ),
Level Name( 1, "Legend 2", Item ID( "Legend 2", 1 ) ),
Level Name( 2, "Legend 3", Item ID( "Legend 3", 1 ) ),
Level Name( 3, "Legend 4", Item ID( "Legend 4", 1 ) ),
Level Name( 4, "Legend 5", Item ID( "Legend 5", 1 ) ),
Level Name( 5, "Legend 6", Item ID( "Legend 6", 1 ) ),
Level Name( 6, "Legend 1", Item ID( "Legend 1", 1 ) ),
Level Name( 7, "Legend 8", Item ID( "Legend 8", 1 ) ),
Properties( 0, {Line Color( 36 )} ),
Properties( 1, {Line Color( -15343117 )} ),
Properties( 2, {Line Color( -15343117 )} ),
Properties( 3, {Line Color( -15343117 )} ),
Properties( 4, {Line Color( -15343117 )} ),
Properties( 5, {Line Color( -15343117 )} ),
Properties( 6, {Line Color( 40 )} ),
Properties( 7, {Line Color( 24 )} )
)}
)
)
);
It doesn't work... It calls "Legend 1", "Legend 7" and that's it.
Thank you in advance for any help!