cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

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

how to generate this graph in Graph Builder?

How to generate a plot in Graph Builder with:

  • color & fit  = Latitude bin
  • marker = Station

like this one:

hogi_3-1761377372054.png

 

The plot doesn't look fancy, but most JMP uses will get stuck when they try to adjust the markers.
STATION is used as Color - and "therefore" the user is only allowed to change the color:

hogi_1-1761375557754.png


Sure, everybody knows a JMP expert - and they will help with a  workaround [what is your favorite one?].

But, Why is this DropZone called "Color" , and why is there no Marker Dropzone when I need one.
Why is it not possible to generate such a simple plot without expert skills?
... why is it not possibility to adjust the Marker, the way the user expects:

hogi_4-1761377840302.png

For the experts:  Please try to generate a plot with

  • color & fit  = Latitude bin
  • marker = season
  • with Graph Builder [no changes to the data table]

 

dt = Open( "$SAMPLE_DATA/Functional Data/Weekly Weather Data.jmp" );


dt << New Column( "Latitude_bins",
"Character",
	Formula(
		If(
:LATITUDE < 30, "<30",
			:LATITUDE < 40, "<40",
			:LATITUDE < 50, "<50",
			:LATITUDE >= 50, ">50",
			.
		)
	)
)  << Run Formulas;

Graph Builder(
	Variables( X( :DATE ), Y( :TAVG ), Overlay( :Latitude_bins ), Color( :STATION ) ),
	Elements( Points( X, Y ), Smoother( X, Y ) ),
	Local Data Filter(
		Add Filter(
			columns( :STATION ),
			Where(
				:STATION == {"USW00003949", "USW00012924", "USW00014922",
				"USW00092811", "USW00093067", "USW00094626"}
			),
			Display( :STATION, N Items( 15 ) )
		)
	)
);

 

 

5 REPLIES 5
hogi
Level XIII

Re: how to generate this graph in Graph Builder?

Maybe a related issue:
Try to adjust the Transparency for the female data points.
There is a function - but without effect!

hogi_0-1761413656282.png

 
dt = Open( "$SAMPLE_DATA/Big Class Families.jmp" );
Graph Builder(
	Variables(
		X( :height ),
		Y( :weight ),
		Overlay( :sex, Overlay Encoding( "Style" ) ),
		Color( :height )
	),
	Elements( Points( X, Y ) )
);
BHarris
Level VII

Re: how to generate this graph in Graph Builder?

I have often wished for both a "Marker" and a "Label" drop zone, and maybe even a "background color" zone.  I haven't submitted those ideas because I'm thinking once I learn more about JMP I'll realize it's a bad idea, but at this point they seem obvious additions.

hogi
Level XIII

Re: how to generate this graph in Graph Builder?

Label Drop zone, sounds great!

I submitted a related wish some days ago: advanced label control in Graph Builder
the idea: a possibility to deactivate specific columns via the variables control.
 
I just added another dimension to the wish:
 dynamic label control for rows as an alternative to the current approach via static row states.
That's a bit nerdy, isn't it?

hogi_0-1761804586521.png

BHarris
Level VII

Re: how to generate this graph in Graph Builder?

I’d love to hear what other options Xan considered for the drop zones, and understand his reasoning for leaving each one out.

hogi
Level XIII

Re: how to generate this graph in Graph Builder?

I think the philosophy behind Graph Builder is:
- keep it slim!
- provide a basic set of functions to satisfy a large percentage of customer
- DON'T be eager to satisfy all needs

Concerning Marker and Transparency Dropzone the idea might be:
- better NOT frighten the basic users with too many options
- the expert users will  find a workaround

On the other hand, there are many low hanging fruits to help the experts - without frightening the basic users:

- don't disable features - don't remove marker control via Color Dropzone!!
- institutionalize features:new Column Property: Value Markers 
- provide PRO features via a secret layer  |  hide them from the basic users:
  e.g.  Graph Builder: support more than 2 'Color' columns -> thanks for the 20x : )
  Same approach:  Graph Builder - Overlay by multiple columns 


Concerning Labels, I guess it's like with Hier Box():
GraphBuilder Powers for Fishbone/hierarchical Diagram Platform

 Compared to features which were added later, the functionality feels outdated.
It provides a basic function, but it lacks the comfort of current JMP 19.
Unfortunately, the function is already there. So, there is little demand to get a better version.

Recommended Articles