cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

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

Graph Builder Overlay Color

Hi,

In Graph Builder, how can I use the Overlay and Color options to change the color and marker for each data group? Changing the marker is useful to help distinguish data when there are many colors, which may be very similar to each other.

 

For example, in the script below, it is useful use Overlay to separate data by age, and use Color to change the color and marker for each point, but if I use them together Overlay will change the line type and color to black, which adds confusion to the graph but no new information.

 

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Graph Builder(
       Show Control Panel( 0 ),
       Variables( X( :height ), Y( :weight ), Overlay( :age ), Color( :age ) ),
       Elements( Points( X, Y, Legend( 21 ) ), Smoother( X, Y, Legend( 22 ) ) )
);

 

 

 

Untitled-2.jpg

 

1 ACCEPTED SOLUTION

Accepted Solutions
pumpkin79
Level I

Re: Graph Builder Overlay Color

You can do this by unclicking Color box under Smoother/Variables. 

Graph Builder(
	Show Control Panel( 0 ),
	Variables( X( :height ), Y( :weight ), Overlay( :age ), Color( :age ) ),
	Elements(
		Points( X, Y, Legend( 21 ) ),
		Smoother( X, Y, Color( 0 ), Legend( 22 ) )
	)
)Graph Builder.gif

 

View solution in original post

2 REPLIES 2
pumpkin79
Level I

Re: Graph Builder Overlay Color

You can do this by unclicking Color box under Smoother/Variables. 

Graph Builder(
	Show Control Panel( 0 ),
	Variables( X( :height ), Y( :weight ), Overlay( :age ), Color( :age ) ),
	Elements(
		Points( X, Y, Legend( 21 ) ),
		Smoother( X, Y, Color( 0 ), Legend( 22 ) )
	)
)Graph Builder.gif

 

robot
Level VI

Re: Graph Builder Overlay Color

Thanks!

Recommended Articles