<?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 Can you display symbols in data table cells and Table Box() in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Can-you-display-symbols-in-data-table-cells-and-Table-Box/m-p/822022#M100134</link>
    <description>&lt;P&gt;I want to be able to display these symbols&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;↑&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;↓&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;→&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;←&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;based on a mapping rule (e.g. 1 = ↑ , 2 = ↓ 3 = →, 4 =&amp;nbsp;←)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in either a data table cell or in a table box() display. &amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Copying and pasting that symbol into a data table cell or as a list item for a String Col Box() isn't working for me to even be able to display the symbol.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Dec 2024 20:09:55 GMT</pubDate>
    <dc:creator>MathStatChem</dc:creator>
    <dc:date>2024-12-11T20:09:55Z</dc:date>
    <item>
      <title>Can you display symbols in data table cells and Table Box()</title>
      <link>https://community.jmp.com/t5/Discussions/Can-you-display-symbols-in-data-table-cells-and-Table-Box/m-p/822022#M100134</link>
      <description>&lt;P&gt;I want to be able to display these symbols&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;↑&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;↓&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;→&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;←&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;based on a mapping rule (e.g. 1 = ↑ , 2 = ↓ 3 = →, 4 =&amp;nbsp;←)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in either a data table cell or in a table box() display. &amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Copying and pasting that symbol into a data table cell or as a list item for a String Col Box() isn't working for me to even be able to display the symbol.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 20:09:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-you-display-symbols-in-data-table-cells-and-Table-Box/m-p/822022#M100134</guid>
      <dc:creator>MathStatChem</dc:creator>
      <dc:date>2024-12-11T20:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can you display symbols in data table cells and Table Box()</title>
      <link>https://community.jmp.com/t5/Discussions/Can-you-display-symbols-in-data-table-cells-and-Table-Box/m-p/822040#M100137</link>
      <description>&lt;P&gt;For me they do work (Win10, JMP18.0.1)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

nw = New Window("",
	Table Box(
		String Col Box("Symbols",
			{"↑", "↓" ,"→", "←"}
		)
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1733948597060.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/71047i127A8096EB98D58A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1733948597060.png" alt="jthi_0-1733948597060.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1733948690101.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/71050iFBB0E25354ED9138/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_2-1733948690101.png" alt="jthi_2-1733948690101.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 20:25:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-you-display-symbols-in-data-table-cells-and-Table-Box/m-p/822040#M100137</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-12-11T20:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can you display symbols in data table cells and Table Box()</title>
      <link>https://community.jmp.com/t5/Discussions/Can-you-display-symbols-in-data-table-cells-and-Table-Box/m-p/824084#M100355</link>
      <description>&lt;P&gt;I got it to work. &amp;nbsp;Wasn't sure what it was I was doing wrong initially. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the snippet of what I came up with to apply that mapping to an entire data table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();
// conversion map to recode symbols
// dot -&amp;gt; triangle symbol
// d -&amp;gt; downarrow symbol
// dd -&amp;gt; double down arrow symbol
// u -&amp;gt; up arrow symbol
// uu -&amp;gt; double up arrow symbol
aa = ["dot" =&amp;gt; "◆",
"d" =&amp;gt; "↓",
"u" =&amp;gt; "↑",
"uu" =&amp;gt; "⇈",
"dd" =&amp;gt; "⇊"];

// iterate through all columns
For( k = 1, k &amp;lt;= N Cols( dt ), k++,
	c = Column( dt, k );
	colname = c &amp;lt;&amp;lt; get name;
	colvals = c &amp;lt;&amp;lt; get values;
	// Try to change values according to the recoding map
	// Try( ) function will not happen  if none of the  value is not one of the characters to convert to a symbol
	For Each( {v, i}, colvals, Try( colvals[i] = aa[v] ) );
	c &amp;lt;&amp;lt; set values( colvals );&lt;BR /&gt;)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Dec 2024 20:05:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-you-display-symbols-in-data-table-cells-and-Table-Box/m-p/824084#M100355</guid>
      <dc:creator>MathStatChem</dc:creator>
      <dc:date>2024-12-17T20:05:48Z</dc:date>
    </item>
  </channel>
</rss>

