cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

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