<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Heatmap Using Maximum instead of Mean in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Heatmap-Using-Maximum-instead-of-Mean/m-p/37409#M21954</link>
    <description>&lt;P&gt;You can do this, but you have to preprocess the statistics. &amp;nbsp;See the simple script below for an example&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\big class.jmp" );
dtmax = dt &amp;lt;&amp;lt; Summary( Group( :sex, :age ), Max( :height ), Freq( "None" ), Weight( "None" ) );
New Window( "graphs",
	H List Box(
		dt &amp;lt;&amp;lt; Graph Builder(
			Size( 570, 520 ),
			Variables( X( :SEX ), Y( :Age ), Color( :height ) ),
			Elements( Heatmap( X, Y, Legend( 4 ) ) )
		),
		dtmax &amp;lt;&amp;lt; Graph Builder(
			Size( 570, 520 ),
			Variables( X( :SEX ), Y( :Age ), Color( :name( "max(height)" ) ) ),
			Elements( Heatmap( X, Y, Legend( 4 ) ) )
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Heat Map.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5665iF05EC283893B7362/image-size/large?v=v2&amp;amp;px=999" role="button" title="Heat Map.PNG" alt="Heat Map.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Mar 2017 18:45:42 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2017-03-21T18:45:42Z</dc:date>
    <item>
      <title>Heatmap Using Maximum instead of Mean</title>
      <link>https://community.jmp.com/t5/Discussions/Heatmap-Using-Maximum-instead-of-Mean/m-p/37401#M21949</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to create a heatmap using the maximum value at each (x, y) rather than the average?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 17:07:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Heatmap-Using-Maximum-instead-of-Mean/m-p/37401#M21949</guid>
      <dc:creator>aallman</dc:creator>
      <dc:date>2017-03-21T17:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Heatmap Using Maximum instead of Mean</title>
      <link>https://community.jmp.com/t5/Discussions/Heatmap-Using-Maximum-instead-of-Mean/m-p/37409#M21954</link>
      <description>&lt;P&gt;You can do this, but you have to preprocess the statistics. &amp;nbsp;See the simple script below for an example&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\big class.jmp" );
dtmax = dt &amp;lt;&amp;lt; Summary( Group( :sex, :age ), Max( :height ), Freq( "None" ), Weight( "None" ) );
New Window( "graphs",
	H List Box(
		dt &amp;lt;&amp;lt; Graph Builder(
			Size( 570, 520 ),
			Variables( X( :SEX ), Y( :Age ), Color( :height ) ),
			Elements( Heatmap( X, Y, Legend( 4 ) ) )
		),
		dtmax &amp;lt;&amp;lt; Graph Builder(
			Size( 570, 520 ),
			Variables( X( :SEX ), Y( :Age ), Color( :name( "max(height)" ) ) ),
			Elements( Heatmap( X, Y, Legend( 4 ) ) )
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Heat Map.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5665iF05EC283893B7362/image-size/large?v=v2&amp;amp;px=999" role="button" title="Heat Map.PNG" alt="Heat Map.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 18:45:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Heatmap-Using-Maximum-instead-of-Mean/m-p/37409#M21954</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-03-21T18:45:42Z</dc:date>
    </item>
  </channel>
</rss>

