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.
Choose Language Hide Translation Bar
View Original Published Thread

Graph builder marker size

UserID16644
Level V

Hi all,

 

Is it possible to have a non specific (item ID) marker size customization in Graph Builder?

 

I have this piece of code as an example but I need the Item ID not to be specified only to the given items on the script.

UserID16644_1-1686797766228.png

 

 

2 REPLIES 2
jthi
Super User


Re: Graph builder marker size

If you want the marker size to affect all the items you can most likely set the marker from frame box instead of legend

jthi_1-1686806937205.png

Graph Builder(
	Variables(X(:weight), Y(:height), Overlay(:sex)),
	Elements(Points(X, Y, Legend(3))),
	SendToReport(
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{Marker Size(5), Marker Drawing Mode("Normal")}
		)
	)
)

If you want different marker sizes, then I think you might have to build and expression which would dynamically updated depending on how you want to set the markers

-Jarmo
hogi
Level XII


Re: Graph builder marker size

And if you have multiple FrameBoxes in the Graph, you have to use @jthi 's approach and send the command to all FrameBoxes:

 

Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
gb = dt << Graph Builder(
	Variables( X( :height ), Y( :weight ), Group X( :sex ), Overlay( :sex ) ),
	Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) )
);
	
fbs = gb << xpath("//FrameBox");

fbs << {Marker Size(5), Marker Drawing Mode("Normal")}