Modify the default Settings to make the selected graphic lines in the image generator thickerThanks!
dt=Open("$SAMPLE_DATA/Big Class.jmp");
Graph Builder(
Show Control Panel(0),
Variables(X(:height), Y(:weight), Overlay(:sex)),
Elements(Points(X, Y, Legend(1)), Smoother(X, Y, Legend(2))),
SendToReport(
Dispatch({}, "Graph Builder", FrameBox,
{MarkerSize(2), Marker Drawing Mode("Normal")}
)
)
);

Automation and ScriptingWindowsRe: Modify the default Settings to make the selected graphic lines in the image generator thickerI think the change you can do will affect selected markers also

Re: Modify the default Settings to make the selected graphic lines in the image generator thickerHow to complete this setting with JSL?
Thank jthi !
Including the script for canceling such Settings.
Re: Modify the default Settings to make the selected graphic lines in the image generator thickerI have to ask: why would you want to mess with preferences with JSL? It is very difficult to return them to original ones as there can be many issues where weird things happen and you won't be able to return them back -> used will be left with something which they do not want to have.
Set Preference() is the command you would use to change the preferences

Show Preferences() and Get Preferences() can be helpful when you try to figure out which preference you want to set
Get Preferences(Marker Selection Mode);
Re: Modify the default Settings to make the selected graphic lines in the image generator thickerI only need such a setting for one specified graphic, but not for the others
So there is a thought that when this graphic needs to be used, it can be controlled to be bolded through JSL, and after the graphic is used, it can be automatically set back to the normal state of not bolding through a script
Thanks!
Re: Modify the default Settings to make the selected graphic lines in the image generator thickerSo then don't start messing with preferences but rather modify the graph?
Names Default To Here(1);
dt = open("$SAMPLE_DATA/Big Class.jmp");
gb = dt << Graph Builder(
Variables(X(:weight), Y(:height), Overlay(:sex)),
Elements(Points(X, Y, Legend(13)), Smoother(X, Y, Legend(14))),
SendToReport(
Dispatch({}, "Graph Builder", FrameBox,
{Marker Selection Mode("Selected Larger")}
)
)
);
or send it as a message to graph builder
Names Default To Here(1);
dt = open("$SAMPLE_DATA/Big Class.jmp");
gb = dt << Graph Builder(
Variables(X(:weight), Y(:height), Overlay(:sex)),
Elements(Points(X, Y, Legend(13)), Smoother(X, Y, Legend(14)))
);
Report(gb)[FrameBox(1)] << Marker Selection Mode("Selected Larger");
Most likely you could also use preset