<?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 - with borders in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Heatmap-with-borders/m-p/659209#M84847</link>
    <description>&lt;P&gt;Maybe customization copy+paste works in this case? Right click on the graph -&amp;gt;Edit -&amp;gt; Copy Customizations. Then go to other frame and same but Paste Customizations (I think you can also broadcast this with Ctrl).&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jul 2023 14:29:28 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-07-17T14:29:28Z</dc:date>
    <item>
      <title>Heatmap - with borders</title>
      <link>https://community.jmp.com/t5/Discussions/Heatmap-with-borders/m-p/659131#M84842</link>
      <description>&lt;P&gt;In some session with&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2026"&gt;@jules&lt;/a&gt;&amp;nbsp;I leaned how to make Heatmap Plots more attractive by adding some borders around the cells.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other options - like the pattern -&amp;nbsp; can be controlled via the Control Panel on the left.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_2-1689601463441.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54804iAF46EE2D3DF3E819/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_2-1689601463441.png" alt="hogi_2-1689601463441.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This one unfortunately not - it has to be applied via right Click into the graph/Customize... - and separately for each subplot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_4-1689601540483.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54806iF801A51864FB70FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_4-1689601540483.png" alt="hogi_4-1689601540483.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;On one hand, this is nice because every subplot can be configures individually - on the other hand: this can take some time.&lt;/P&gt;&lt;P&gt;If there are several open subplots, how can I change all subplots at once - and how can I change the setting, such that (when the data table is updated and new subplots appear the) new subplots start with linewidth=1?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Most of such right Click commands can be broadcasted to all subplots by pressing CTRL.&lt;/P&gt;&lt;P&gt;But for Customize ... this doesn't seem to be possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A trick is to remove all subplots by removing columns from Group X/Y, Wrap/Pages, apply the LineWidth and then add the columns again to the respective DropZones. But that takes some time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another Trick:&lt;BR /&gt;Send the command to all FrameBoxes of the current Graph via JSL.&lt;BR /&gt;But then there is still the issue when new Subplots show up (without the borders).&lt;BR /&gt;&lt;BR /&gt;Anybod using Heatmaps with borders around the cells? And recommendations how to facilitate the usage?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1689601282682.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54803iE36F423AC018F938/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1689601282682.png" alt="hogi_1-1689601282682.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Graph Builder(
	Size( 454, 256 ),
	Show Control Panel( 0 ),
	Show Legend( 0 ),
	Summary Statistic( "Median" ),
	Graph Spacing( 4 ),
	Variables( X( :height ), Y( :weight ), Group X( :sex ), Overlay( :sex ) ),
	Elements( Heatmap( X, Y, Legend( 3 ), Bin Shape( "Hexagonal" ) ) ),
	SendToReport(
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{DispatchSeg( HexSeg( 1 ), Line Width( 1 ) )}
		)
	)
)
	&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Jul 2023 13:48:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Heatmap-with-borders/m-p/659131#M84842</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-07-17T13:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Heatmap - with borders</title>
      <link>https://community.jmp.com/t5/Discussions/Heatmap-with-borders/m-p/659209#M84847</link>
      <description>&lt;P&gt;Maybe customization copy+paste works in this case? Right click on the graph -&amp;gt;Edit -&amp;gt; Copy Customizations. Then go to other frame and same but Paste Customizations (I think you can also broadcast this with Ctrl).&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 14:29:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Heatmap-with-borders/m-p/659209#M84847</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-07-17T14:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Heatmap - with borders</title>
      <link>https://community.jmp.com/t5/Discussions/Heatmap-with-borders/m-p/659261#M84854</link>
      <description>&lt;P&gt;nice trick :)&lt;/img&gt;&lt;BR /&gt;thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 15:49:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Heatmap-with-borders/m-p/659261#M84854</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-07-17T15:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Heatmap - with borders</title>
      <link>https://community.jmp.com/t5/Discussions/Heatmap-with-borders/m-p/684884#M87087</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26800"&gt;@hogi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you mention one option is to:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Send the command to all FrameBoxes of the current Graph via JSL.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;If I don't know what the Group X values will be, how do I do this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I presume I can do it by sending a message to the Framebox(es) something like this (where gb1 is a reference to the Graph Builder):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;bordercode = "HexSeg( 1 ), {Line Width( 1 )}";
fnDef = Expr(
	(gb1 &amp;lt;&amp;lt; xpath( "//FrameBox" )) &amp;lt;&amp;lt; DispatchSeg( __aa__ ) 
);
Substitute Into( fnDef, Expr( __aa__ ),  parse( bordercode )  );
Parse( fnDef );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But I'm getting the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Unexpected ",". Perhaps there is a missing ";" or ",".
Line 1 Column 13: HexSeg( 1 )►, {Line Width( 0.5 )}
The remaining text that was ignored was
,{Line Width(0.5)}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So I presume I'm formatting the message incorrectly. I've tried various combinations, with and without "Parse" etc but no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for any suggestions!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 10:29:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Heatmap-with-borders/m-p/684884#M87087</guid>
      <dc:creator>matth1</dc:creator>
      <dc:date>2023-10-09T10:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Heatmap - with borders</title>
      <link>https://community.jmp.com/t5/Discussions/Heatmap-with-borders/m-p/685146#M87106</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;fbs =current report() &amp;lt;&amp;lt; xpath( "//FrameBox" );
fbs &amp;lt;&amp;lt; {DispatchSeg( HexSeg( 1 ), Line Width( 1 ) )}&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Oct 2023 17:53:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Heatmap-with-borders/m-p/685146#M87106</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-10-09T17:53:51Z</dc:date>
    </item>
  </channel>
</rss>

