cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
View Original Published Thread

How to make this kind of graph in JMP? The Winchester and Floyd Diagram (1977)

mgh35
Level II

undefinedundefinedHello

I have JMP 14. And I would like to know how to get the attached diagram? I managed to make two graphs with two different tables, one graph for lines and another for points. But I don't know how to merge the two graphs into one. Thanks a lot for your help!

Michael

 

This post originally written in French and has been translated for your convenience. When you reply, it will also be translated back to French .

1 ACCEPTED SOLUTION

Accepted Solutions
stan_koprowski
Community Manager Community Manager


Re: Comment faire ce genre de graphique dans JMP? Le diagramme de Winchester et Floyd (1977)

Hi Mikaël,

I think I understand now what you are asking.

How to add multiple elements to graph using JMP Graph Builder platform?

Start by clicking the line element from the available options after dragging SiO2% to y-axis and Nb/Y ppm to the x-axis.

Select Row order under the Line element properties

JMP Graph Builder line element with row order selectedJMP Graph Builder line element with row order selected

Adding points ( or additional elements to existing graph )

You can do this a few different ways. After generating the line plot in graph builder you can right click the graph, select add, then select points. Alternatively, you can add the points on top of the line plot by dragging the icon with points (in the palette above the graph) on top of the graph. Dragging a visual (rather than clicking it) adds the visualization to the current plot (rather than replacing it).

 

JMP Graph Builder right-click Add>PointsJMP Graph Builder right-click Add>Points

 

I hope this helps,

Stan

View solution in original post

5 REPLIES 5
stan_koprowski
Community Manager Community Manager


Re: Comment faire ce genre de graphique dans JMP? Le diagramme de Winchester et Floyd (1977)

@mgh35 ,

I quickly put together a data set and used the annotate option to position the labels.

Not sure if this is exactly what you wanted but might give you an idea of how to proceed.

 

cheers,

Stan

Winchester and Floyd 1977Winchester and Floyd 1977

Graph Builder(
	Size( 1231, 879 ),
	Show Control Panel( 0 ),
	Variables( X( :"Nb/Y ppm"n ), Y( :SiO2% ) ),
	Elements(
		Line( X, Y, Legend( 5 ), Row order( 1 ), Summary Statistic( "N" ) ),
		Points( X, Y, Legend( 7 ) )
	),
	SendToReport(
		Dispatch(
			{},
			"Nb/Y ppm",
			ScaleBox,
			{Scale( "Log" ), Format( "Best", 12 ), Min( 0.0189841314040199 ),
			Max( 12.4117356891639 ), Inc( 1 ), Minor Ticks( 1 )}
		),
		Dispatch(
			{},
			"SiO2%",
			ScaleBox,
			{Min( 38.6575949367089 ), Max( 79.3642685467073 ), Inc( 10 ), Minor Ticks( 1 )}
		),
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{Add Text Annotation(
				Text( "Akali basalt" ),
				Fixed Size( 0 ),
				Text Box( {744, 593, 826, 612} ),
				Filled( 0 )
			), Add Text Annotation(
				Text( "Basanite
Nephelinite
" ),
				Fixed Size( 0 ),
				Text Box( {972, 658, 1053, 707} ),
				Filled( 0 )
			), Add Text Annotation(
				Text( "Rhyolite" ),
				Fixed Size( 0 ),
				Text Box( {459, 39, 522, 58} ),
				Filled( 0 )
			), Add Text Annotation(
				Text( "Rhyodacite
Dacite
" ),
				Fixed Size( 0 ),
				Text Box( {358, 195, 439, 244} ),
				Filled( 0 )
			), Add Text Annotation(
				Text( "Andesite" ),
				Fixed Size( 1 ),
				Text Box( {339, 384, 498, 454} ),
				Filled( 0 )
			), Add Text Annotation(
				Text( "Sub-alkaline basalt
" ),
				Fixed Size( 0 ),
				Text Box( {256, 608, 382, 642} ),
				Filled( 0 )
			), Add Text Annotation(
				Text( "Trachyandesite
" ),
				Fixed Size( 0 ),
				Text Box( {695, 471, 799, 505} ),
				Filled( 0 )
			), Add Text Annotation(
				Text( "Phonolite" ),
				Fixed Size( 0 ),
				Text Box( {1005, 461, 1075, 480} ),
				Filled( 0 )
			), Add Text Annotation(
				Text( "Trachyte" ),
				Fixed Size( 0 ),
				Text Box( {897, 285, 963, 304} ),
				Filled( 0 )
			), Add Text Annotation(
				Text( "Comendite
Pantellerite
" ),
				Fixed Size( 0 ),
				Text Box( {880, 123, 961, 172} ),
				Filled( 0 )
			)}
		),
		Dispatch( {}, "400", LegendBox, {Legend Position( {5, [-1], 7, [0]} )} )
	)
)

 

mgh35
Level II

Re: How to make this kind of graph in JMP? The Winchester and Floyd Diagram (1977)

Hello Stan, Thanks for the script. I had managed to make this kind of chart with the chart builder. But I don't know how to add points (for example red and blue points as in the graph transmitted previously). Is it possible from two data tables or from a single data table to generate this type of graph.

Thank you very much good day.

Mikaël (JMP14, beginner)

 

This post originally written in French and has been translated for your convenience. When you reply, it will also be translated back to French .

mlo1
Level IV


Re: Comment faire ce genre de graphique dans JMP? Le diagramme de Winchester et Floyd (1977)

Just an idea.
Does it make sense to use a custom map for these data?

Benutzerdefinierte Karten für nicht-geografische Daten 

Custom Map Creator 

 

 

stan_koprowski
Community Manager Community Manager


Re: Comment faire ce genre de graphique dans JMP? Le diagramme de Winchester et Floyd (1977)

Hi Mikaël,

I think I understand now what you are asking.

How to add multiple elements to graph using JMP Graph Builder platform?

Start by clicking the line element from the available options after dragging SiO2% to y-axis and Nb/Y ppm to the x-axis.

Select Row order under the Line element properties

JMP Graph Builder line element with row order selectedJMP Graph Builder line element with row order selected

Adding points ( or additional elements to existing graph )

You can do this a few different ways. After generating the line plot in graph builder you can right click the graph, select add, then select points. Alternatively, you can add the points on top of the line plot by dragging the icon with points (in the palette above the graph) on top of the graph. Dragging a visual (rather than clicking it) adds the visualization to the current plot (rather than replacing it).

 

JMP Graph Builder right-click Add>PointsJMP Graph Builder right-click Add>Points

 

I hope this helps,

Stan

mgh35
Level II

Re: How to make this kind of graph in JMP? The Winchester and Floyd Diagram (1977)

Thank you very much, it's perfect!

Michael

 

This post originally written in French and has been translated for your convenience. When you reply, it will also be translated back to French .