<?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: Inserting Superscripts in Proc Format in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Inserting-Superscripts-in-Proc-Format/m-p/334449#M11645</link>
    <description>&lt;P&gt;It looks like your using SAS 9.4m2, which is why it did not work for you. As a possible alternative, take a look at Prashant Hebbar's paper (&lt;A href="https://support.sas.com/resources/papers/proceedings13/371-2013.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings13/371-2013.pdf&lt;/A&gt;). Starting on page 10, he talks about embedding unicode characters directly in your data set. You might be able to do this in a temporary data set to get the effect you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
    <pubDate>Mon, 20 Feb 2017 19:38:45 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2017-02-20T19:38:45Z</dc:date>
    <item>
      <title>Inserting Superscripts in Proc Format</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Inserting-Superscripts-in-Proc-Format/m-p/334410#M11642</link>
      <description>&lt;P&gt;I am trying to include superscripts in individual&amp;nbsp;panel labels using sgpanel. I have created the labels using proc format and the value statement, but I am having issues when I actually try to insert superscripts (of 1, 2, 3, etc).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After doing some research, it seems that it should be possible to insert superscripts into proc format value statements using (*ESC*) and the unicode value, but when I do this in SAS 9.4 it just prints everything out in the string. An example of the code I'm using is below. I've never called unicode values before so am not feeling confident about that either, but right now I just want it to not print the entire thing in a string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have additional labels but cut it down here to be concise. I then call the panel_var format in sgpanel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;format&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;value&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; panel_var &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'BSI(*ESC*){unicode "207A"x}(*ESC*){unicode "2071"x}'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"Externalizing Problems";&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;graphics&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;on&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;/ &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;border&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;off&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;width&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;11&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;in&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;height&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;8&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;in&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;rtf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"C:\filepath\filename.rtf"&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=journal2;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;sgpanel&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=adj &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;noautolegend&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;panelby&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; panel_var / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;columns&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;3&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;rows&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;4&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;uniscale&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=column &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;novarname&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;refline&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;/&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;axis&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=y;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;scatter&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;x&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=visit &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;y&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=beta/&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;yerrorupper&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=upper &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;yerrorlower&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=lower;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;format&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; visit &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;visit.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; panel_var &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;panel_var.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;colaxis&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;min&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.8&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;max&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;7.2&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;values&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=(&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;,&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;,&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;3&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;,&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;4&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;,&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;,&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;6&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;,&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;7&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;valueshint&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;rowaxis&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;integer&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;rtf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 18:28:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Inserting-Superscripts-in-Proc-Format/m-p/334410#M11642</guid>
      <dc:creator>sstac</dc:creator>
      <dc:date>2017-02-20T18:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting Superscripts in Proc Format</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Inserting-Superscripts-in-Proc-Format/m-p/334415#M11643</link>
      <description>&lt;P&gt;What version of SAS 9.4 are you running? This feature was released in SAS 9.4m3. Run this code and post the result fromn your log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%put &amp;amp;sysvlong;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 18:33:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Inserting-Superscripts-in-Proc-Format/m-p/334415#M11643</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2017-02-20T18:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting Superscripts in Proc Format</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Inserting-Superscripts-in-Proc-Format/m-p/334417#M11644</link>
      <description>&lt;P&gt;Thanks for your speedy reply. Log results: 9.04.01M2P072314&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I can't do it using this version, is there another way?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 18:36:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Inserting-Superscripts-in-Proc-Format/m-p/334417#M11644</guid>
      <dc:creator>sstac</dc:creator>
      <dc:date>2017-02-20T18:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting Superscripts in Proc Format</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Inserting-Superscripts-in-Proc-Format/m-p/334449#M11645</link>
      <description>&lt;P&gt;It looks like your using SAS 9.4m2, which is why it did not work for you. As a possible alternative, take a look at Prashant Hebbar's paper (&lt;A href="https://support.sas.com/resources/papers/proceedings13/371-2013.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings13/371-2013.pdf&lt;/A&gt;). Starting on page 10, he talks about embedding unicode characters directly in your data set. You might be able to do this in a temporary data set to get the effect you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 19:38:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Inserting-Superscripts-in-Proc-Format/m-p/334449#M11645</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2017-02-20T19:38:45Z</dc:date>
    </item>
  </channel>
</rss>

