<?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 subscript label characters in proc univariate in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/subscript-label-characters-in-proc-univariate/m-p/453553#M284062</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to do a simple histogram form the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc univariate data=xxx noprint;
histogram pm25;
label pm25 'Baseline PM2.5, µg/m³';
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like the '2.5' in the label to be subscript characters&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods escapechar="^"; 
...
label pm25 'Baseline PM^(sub 2.5), µg/m³';&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but get the error "SUB FUNCTION NOT DEFINED IN THIS TAGSET"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The superscript m³ was obtained by the alt code "ALT+ 0179" but for some reason the corresponding subscript alt codes do not work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
    <pubDate>Thu, 12 Apr 2018 13:48:29 GMT</pubDate>
    <dc:creator>ullhvi</dc:creator>
    <dc:date>2018-04-12T13:48:29Z</dc:date>
    <item>
      <title>subscript label characters in proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/subscript-label-characters-in-proc-univariate/m-p/453553#M284062</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to do a simple histogram form the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc univariate data=xxx noprint;
histogram pm25;
label pm25 'Baseline PM2.5, µg/m³';
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like the '2.5' in the label to be subscript characters&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods escapechar="^"; 
...
label pm25 'Baseline PM^(sub 2.5), µg/m³';&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but get the error "SUB FUNCTION NOT DEFINED IN THIS TAGSET"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The superscript m³ was obtained by the alt code "ALT+ 0179" but for some reason the corresponding subscript alt codes do not work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 13:48:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/subscript-label-characters-in-proc-univariate/m-p/453553#M284062</guid>
      <dc:creator>ullhvi</dc:creator>
      <dc:date>2018-04-12T13:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: subscript label characters in proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/subscript-label-characters-in-proc-univariate/m-p/453559#M284063</link>
      <description>&lt;P&gt;What is your destination?&amp;nbsp; Is it the output window - is that text or html?&amp;nbsp; Text can't really do that.&amp;nbsp; Is it rtf?&amp;nbsp; Excel etc?&lt;/P&gt;
&lt;P&gt;You can put superscripts and subscripts in using escape codes where the destination supports them.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/forum2007/099-2007.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/forum2007/099-2007.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 14:04:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/subscript-label-characters-in-proc-univariate/m-p/453559#M284063</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-04-12T14:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: subscript label characters in proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/subscript-label-characters-in-proc-univariate/m-p/453928#M284064</link>
      <description>&lt;P&gt;Try&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods escapechar='^';&lt;/P&gt;
&lt;P&gt;proc &lt;STRONG&gt;sgplot&lt;/STRONG&gt; .......&lt;/P&gt;
&lt;P&gt;histogram&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And better post it at ODS Graphic Forum, I can bet you can get the right answer .&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 14:31:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/subscript-label-characters-in-proc-univariate/m-p/453928#M284064</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-04-13T14:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: subscript label characters in proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/subscript-label-characters-in-proc-univariate/m-p/454223#M284065</link>
      <description>&lt;P&gt;You can try this bit of code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods escapechar='^';

proc sgplot data=xxx;
  histogram pm25;
  xaxis label="Baseline PM^{unicode '2082'x}^{unicode '2024'x}^{unicode '2085'x}, ^{unicode mu}g/m^{unicode '00B3'x}" 
    labelattrs=GraphUnicodeText;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Read &lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2011/11/14/the-power-of-unicode/" target="_blank"&gt;The Power of Unicode&lt;/A&gt; for more details.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 00:28:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/subscript-label-characters-in-proc-univariate/m-p/454223#M284065</guid>
      <dc:creator>SuzanneDorinski</dc:creator>
      <dc:date>2018-04-15T00:28:55Z</dc:date>
    </item>
  </channel>
</rss>

