cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

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

Graph builder marker size

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 XIII

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")}

Recommended Articles