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:
![SDF1_0-1650975898212.png SDF1_0-1650975898212.png](https://community.jmp.com/t5/image/serverpage/image-id/42022i3851A382B3DF8F09/image-size/medium?v=v2&px=400)
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...
![SDF1_1-1650976053970.png SDF1_1-1650976053970.png](https://community.jmp.com/t5/image/serverpage/image-id/42023i09FD277042B45936/image-size/medium?v=v2&px=400)
You can define the number of levels (or labels) to show on the legend.
![SDF1_2-1650976082470.png SDF1_2-1650976082470.png](https://community.jmp.com/t5/image/serverpage/image-id/42024iEFFDC09C94430DEC/image-size/medium?v=v2&px=400)
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