<?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 How to add superscript to sgplot labels (to the power 6?) in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-add-superscript-to-sgplot-labels-to-the-power-6/m-p/876303#M23792</link>
    <description>&lt;P&gt;What is the unicode to add a label with superscript 10 to the power 6?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 May 2023 19:04:17 GMT</pubDate>
    <dc:creator>Abishekaa</dc:creator>
    <dc:date>2023-05-17T19:04:17Z</dc:date>
    <item>
      <title>How to add superscript to sgplot labels (to the power 6?)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-add-superscript-to-sgplot-labels-to-the-power-6/m-p/876303#M23792</link>
      <description>&lt;P&gt;What is the unicode to add a label with superscript 10 to the power 6?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 19:04:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-add-superscript-to-sgplot-labels-to-the-power-6/m-p/876303#M23792</guid>
      <dc:creator>Abishekaa</dc:creator>
      <dc:date>2023-05-17T19:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to add superscript to sgplot labels (to the power 6?)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-add-superscript-to-sgplot-labels-to-the-power-6/m-p/876310#M23793</link>
      <description>&lt;P&gt;The Unicode value for superscript 6 is 0x2076. However, you need to be sure you're using a "full-featured" Unicode font to show it, as most fonts do not contain that glyph. I would using "Arial Unicode MS" for san-serif text and "Times New Roman Uni" for serif text. Setting 10^6 on an axis label (for example) would look something like the following (on the correct axis statement):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;label="10(*ESC*){unicode '2076'x}"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The INSET statement and annotation text supports using superscripts and subscript without using the Unicode values. You can use {sup '6'} in those cases.&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>Wed, 17 May 2023 19:38:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-add-superscript-to-sgplot-labels-to-the-power-6/m-p/876310#M23793</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2023-05-17T19:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to add superscript to sgplot labels (to the power 6?)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-add-superscript-to-sgplot-labels-to-the-power-6/m-p/876426#M23796</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*用于加X轴Y轴标签的上下标*/
data _anno;
length label $ 200;
 drawspace="layoutpercent"; function="text"; textweight="normal"; textsize=12;textcolor="black"; width=200;
 x1=50; y1=2.5;label="XXXXX(*ESC*){sup '6'}"; output;
 x1=2.5;  y1=50;rotate=90;label="YYYY(*ESC*){sub '6'}"; output;
 run;
/*****画散点图*****/
proc sgplot data=sashelp.class sganno=_anno noautolegend ;   
scatter x=weight y=height/group=sex datalabel=name;   
xaxis label=' ';
yaxis label=' ';
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1684412894546.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84091iE89DC8C7D8783B05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1684412894546.png" alt="Ksharp_0-1684412894546.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 12:28:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-add-superscript-to-sgplot-labels-to-the-power-6/m-p/876426#M23796</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-05-18T12:28:17Z</dc:date>
    </item>
  </channel>
</rss>

