cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use JMP Live to centralize and share reports within groups. Webinar with Q&A April 4, 2pm ET.
Choose Language Hide Translation Bar
View Original Published Thread

Contour Plot

Samboat
Level I

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