cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
Boaz
Level I

creating a map of cell by cell value

Hi JMPers,

I'm trying to create a plot of column Z by a matrix of X & Y, (X & Y have discrete values, Z is continues).

was only able to create contour plots but I'm trying to get something like this:

 

ba5d7464-ef05-4447-a83d-51f75bec5a0f.jpg

 

does anyone have an Idea?

would love a solution in  a script format....

1 ACCEPTED SOLUTION

Accepted Solutions
mzwald
Staff

Re: creating a map of cell by cell value

Hi Boaz,
What you are showing would be accomplished with the Heatmap option from Graph Builder.  Please refer to this script for an example:

dt = Open( "$SAMPLE_DATA/Wafer Stacked.jmp" );
dt:X_Die << Set Modeling Type( "Ordinal" );
dt:Y_Die << Set Modeling Type( "Ordinal" );
dt << Graph Builder(
	Size( 554, 521 ),
	Show Control Panel( 0 ),
	Variables( X( :X_Die ), Y( :Y_Die ), Color( :Defects ) ),
	Elements( Heatmap( X, Y, Legend( 4 ) ) )
);
 

wafermap.jpg

View solution in original post

4 REPLIES 4
txnelson
Super User

Re: creating a map of cell by cell value

I suggest that you create a shape map of your x and y matrix, and then use Graph Builder to generate the choropleth map.

 

See the Maps section in the Essential Graphics document in the JMP Documentation Library under the Help pull down menu

Jim
ian_jmp
Level X

Re: creating a map of cell by cell value

Building on the reply from @txnelson, please find attached some (now rather old) code that might get you started. It probably does more (and perhaps less . . . ) than you need. Use 'Help > Scripting Guide' and other documentation to figure out how it works. 

mzwald
Staff

Re: creating a map of cell by cell value

Hi Boaz,
What you are showing would be accomplished with the Heatmap option from Graph Builder.  Please refer to this script for an example:

dt = Open( "$SAMPLE_DATA/Wafer Stacked.jmp" );
dt:X_Die << Set Modeling Type( "Ordinal" );
dt:Y_Die << Set Modeling Type( "Ordinal" );
dt << Graph Builder(
	Size( 554, 521 ),
	Show Control Panel( 0 ),
	Variables( X( :X_Die ), Y( :Y_Die ), Color( :Defects ) ),
	Elements( Heatmap( X, Y, Legend( 4 ) ) )
);
 

wafermap.jpg

Boaz
Level I

Re: creating a map of cell by cell value

Thanks,

Got exactly what I wanted!