cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
hogi
Level XII

#DACH2024 : title and legend: blue font?


adjust the colors interactively, then use the Enhanced log to get the right command ...

Next step: create your toolbar

hogi_0-1728387813372.png

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" )} )
	)  
3 REPLIES 3
hogi
Level XII

Re: #DACH2024 : title and legend: blue font?

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 !]

hogi
Level XII

Re: #DACH2024 : title and legend: blue font?

@Ryan_Gilmore is it possible to classify .jmppreset as allowed filetype?

Ryan_Gilmore
Community Manager Community Manager

Re: #DACH2024 : title and legend: blue font?

We are working on it. There are apparently some changes that need to occur outside of our direct control. Hopefully soon.