cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
] />

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
RMSEBird223
Level II

How to set label color for graph builder?

Hi all, I was wondering whether it is possible to set the label color independently of the data point color. I would like all labels to be black, meaning that the labels JACLYN, LOUISE, KATIE, and JANE should be black instead of blue, while the data points themselves should remain blue. Is this possible? Thanks!

example figure.png

Code for generating the plot:

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Clear Select << Select Rows( Index( 1, 4 ) ) << Colors( "Blue" ) << Clear Select;
dt:name << Label( 1 );

dt << Graph Builder(
	Variables( X( :age ), Y( :weight ) ),
	Elements( Points( X, Y, Legend( 5 ) ) ),
	SendToReport(
		Dispatch( {}, "Graph Builder", FrameBox,
			{DispatchSeg( Marker Seg( 1 ), Set Force Labels( "Label by Row" ) )}
		)
	)
);


1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to set label color for graph builder?

Hi @RMSEBird223 ,

There's a preference form marker label color style and marker label fixed color. 

John_Powell_JMP_0-1776779021975.png

I hope this helps, 

~John

View solution in original post

2 REPLIES 2

Re: How to set label color for graph builder?

Hi @RMSEBird223 ,

There's a preference form marker label color style and marker label fixed color. 

John_Powell_JMP_0-1776779021975.png

I hope this helps, 

~John

RMSEBird223
Level II

Re: How to set label color for graph builder?

Thanks a lot! 

Recommended Articles