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!

Discussions

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

Contour Plot

Please, I humbly ask for help on how to make a contour plot of the type I have attached. Contour plot_JMP.jpg 

4 REPLIES 4
Thierry_S
Super User

Re: Contour Plot

Hi,

It is difficult to provide a valid answer without knowing the type and format of your data table. Could you share either the actual data (if it is not confidential) or a mock table showing how your data is organized and formatted.

Best,

TS

Thierry R. Sornasse
Craige_Hales
Super User

Re: Contour Plot

Graph Builder(
	Size( 400, 832 ),
	Variables( X( :weight ), Y( :height ), Group X( :sex ), Group Y( :age ) ),
	Elements( Contour( X, Y, Legend( 5 ) ) )
);

DragAndDrop height and weight first, then sex and age...may make it easier.DragAndDrop height and weight first, then sex and age...may make it easier.

Craige
Thierry_S
Super User

Re: Contour Plot

Hi,

Of note: I believe that the original post was about plotting X, Y, and Z values as contours, hence the Frequency field should be used as well

Best,

TS

Thierry R. Sornasse
Thierry_S
Super User

Re: Contour Plot

Hi,

The best option is to use the Contour Plot platform under the Graph menu with your data organized as X, Y, and Z columns

Contour Plot(
	X( :X, :Y ),
	Y( :Z ),
	Show Data Points( 0 ),
	Fill Areas( 1 ),
	Label Contours( 0 ),
	Transform( "None" ),
	Color Theme( "Jet" ),
	Specify Contours( Min( -100 ), Max( 150 ), N( 6 ) ),
	
);

OUPUT:

Thierry_S_0-1628693384787.png

Where Z = X + Y (as an example)

Best,

TS

Thierry R. Sornasse

Recommended Articles