Hi @CheeseProgram ,
Your JSL that you save should work, at least in looking it over, I would think it should work. One possibility why it doesn't might be the reference to the column. When you call the Set Shape Column() command, you might need to change the column reference within it to something like :"Column name"n with the parentheses and 'n' at the end. JMP has replaced the former :Name("Column name") with the :"name here"n format. It's possible that could be causing problems in the script.
I tried it out using the Big Class Families.jmp file in the sample directory. I got something like the following, which is basically what you want:
This is the JSL code saved from the Graph Builder platform I used to generate the above graph.
Graph Builder(
Size( 534, 456 ),
Show Control Panel( 0 ),
Variables( X( :height ), Y( :weight ), Size( :age ) ),
Elements(
Points( X, Y, Legend( 3 ), Set Shape Column( :picture ) ),
Smoother( X, Y, Legend( 4 ) )
),
SendToReport(
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
3,
Properties(
0,
{Marker Scale( {N Labels( 5 )} )},
Item ID( "age", 1 )
)
)}
)
)
);
I think you have to first manually set the image column as well as the number of levels (I'm using age as an ORDINAL size variable). You might need to change your :Feret size column to ordinal instead of continuous as this might allow for more flexibility when defining the number of levels.
If you right click on the size options and select size settings...
You can define the number of levels (or labels) to show on the legend.
When I save and run the above JSL script, it works as expected and reproduces the graph that I had manually created in order to generate the script to begin with.
I hope this helps.
Good luck!,
DS