cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

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

Some Questions about "Style" in Graph Builder

1)  When I use Style as Overlay encoding, how can I specify the "Theme" of the markers, e.g. to use hollow or markers?
[similar to the Graph Marker Theme setting in the Preferences]

hogi_4-1767946744816.png

 

dt = Open( "$SAMPLE_DATA/Big Class Families.jmp" );
Graph Builder(
	Size( 398, 333 ),
	Show Control Panel( 0 ),
	Graph Spacing( 4 ),
	Variables( X( :height ), Y( :weight ), Overlay( :age, Overlay Encoding( "Style" ) ) ),
	Elements( Points( X, Y, Legend( 17 ) ), Smoother( X, Y, Legend( 18 ) ) )
);

hogi_3-1767946710395.png

1 REPLY 1
hogi
Level XIII

Re: Some Questions about "Style" in Graph Builder

2)

I use markers very often to distinguish different variants.
Sometimes, I  have a second yes/no information and I and want to use hollow: yes/no to show this info in the plot.
here: the first/last data point per group.

In Graph builder, is it possible to use one column (age) for MARKER - and another column (first or last) for HOLLOW: yes/no?

hogi_2-1768049864612.png

 

Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Column( "first or last",
	"Nominal",
	Formula(
		:height == Col Min( :height, :age ) | :height == Col Max( :height, :age )
	)
)

 

Recommended Articles