adjust the colors interactively, then use the Enhanced log to get the right command ...
Next step: create your toolbar
and add a command with something like this:
Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
gb = dt << Graph Builder(
Size( 437, 413 ),
Graph Spacing( 4 ),
Variables( X( :height ), Y( :weight ), Overlay( :sex ) ),
Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) )
);
wait (2);
// ^^^^^^ don't include this part ^^^^^^^^
current report() << SendToReport(
Dispatch( {}, "graph title", TextEditBox,
{Text Color( "Blue" ), Font Color( 5 )}
),
Dispatch( {}, "400", LegendBox, {Text Color( "Blue" )} )
)
As an alternative (we just discussed it : :(
via the new JMP 18 Platform presets.
- change the fonts via the GUI
- save the current settings as a preset
- got to the preferences and export the preset
- remove all the other GB commands, just keep the color settings
- import and enjoy
[the attached file has to be renamed to .jmppreset !]
@Ryan_Gilmore is it possible to classify .jmppreset as allowed filetype?
We are working on it. There are apparently some changes that need to occur outside of our direct control. Hopefully soon.