cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use to use Text Explorer to glean valuable information from text data at April 25 webinar.
Choose Language Hide Translation Bar
View Original Published Thread

#DACH2024 : title and legend: blue font?

hogi
Level XII


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.