<?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: Adding superscript on yaxis values in proc gplot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Adding-superscript-on-yaxis-values-in-proc-gplot/m-p/82939#M3071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks like a simple log axis available with With SAS 9.2 SGPLOT.&amp;nbsp; Set axis TYPE=LOG, base 10 is default.&amp;nbsp; Use LOGSTYLE option:&lt;/P&gt;&lt;P&gt;&lt;A href="#LOGSTYLE"&gt;LOGSTYLE&lt;/A&gt;= LOGEXPAND | LOGEXPONENT | LINEAR.&amp;nbsp; Logexpand will show you 0.1, 1, 10, 100, 1000 on the Y axis.&amp;nbsp; Log exponenet will display only the exponent - -2, -1, 0, 1, 2, 3.&amp;nbsp; With SAS 9.2, I cannot think of a way to get 10^3 like you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jul 2013 02:23:07 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2013-07-18T02:23:07Z</dc:date>
    <item>
      <title>Adding superscript on yaxis values in proc gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-superscript-on-yaxis-values-in-proc-gplot/m-p/82935#M3067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display yaxis values like 10 {superscript}0, 10 {superscript}1, 10 {superscript}2 etc .. is there a way I can put 0, 1, 2 etc as a superscript on yaxis values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 22:11:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-superscript-on-yaxis-values-in-proc-gplot/m-p/82935#M3067</guid>
      <dc:creator>sfo</dc:creator>
      <dc:date>2013-07-17T22:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding superscript on yaxis values in proc gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-superscript-on-yaxis-values-in-proc-gplot/m-p/82936#M3068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These axis tick values make sense for a log axis.&amp;nbsp; Then, equally spaced tick values can have 10**2, 10**3, etc.&amp;nbsp; For log axis use TYPE=log on the axis statement for SGPLOT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a little harder to understand this for a linear axis, you likely have numbers like 100, 200, 300 to 800.&amp;nbsp; In this case, just a 10**2, 10**3 may not suffice.&amp;nbsp; Please provide more details, or attach a picture.&amp;nbsp; With SAS 9.3, you can use the SGANNO facility to make such customizations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 22:40:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-superscript-on-yaxis-values-in-proc-gplot/m-p/82936#M3068</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2013-07-17T22:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding superscript on yaxis values in proc gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-superscript-on-yaxis-values-in-proc-gplot/m-p/82937#M3069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sanjay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Yaxis is log. Attached is the picture of the graph. What I want is 10 (to the power) -2 and so on ..&lt;IMG alt="Yaxis.PNG" class="jive-image" src="https://communities.sas.com/legacyfs/online/3918_Yaxis.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 23:10:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-superscript-on-yaxis-values-in-proc-gplot/m-p/82937#M3069</guid>
      <dc:creator>sfo</dc:creator>
      <dc:date>2013-07-17T23:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Adding superscript on yaxis values in proc gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-superscript-on-yaxis-values-in-proc-gplot/m-p/82938#M3070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, forgot to mention that I am using SAS 9.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 23:10:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-superscript-on-yaxis-values-in-proc-gplot/m-p/82938#M3070</guid>
      <dc:creator>sfo</dc:creator>
      <dc:date>2013-07-17T23:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Adding superscript on yaxis values in proc gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-superscript-on-yaxis-values-in-proc-gplot/m-p/82939#M3071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks like a simple log axis available with With SAS 9.2 SGPLOT.&amp;nbsp; Set axis TYPE=LOG, base 10 is default.&amp;nbsp; Use LOGSTYLE option:&lt;/P&gt;&lt;P&gt;&lt;A href="#LOGSTYLE"&gt;LOGSTYLE&lt;/A&gt;= LOGEXPAND | LOGEXPONENT | LINEAR.&amp;nbsp; Logexpand will show you 0.1, 1, 10, 100, 1000 on the Y axis.&amp;nbsp; Log exponenet will display only the exponent - -2, -1, 0, 1, 2, 3.&amp;nbsp; With SAS 9.2, I cannot think of a way to get 10^3 like you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 02:23:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-superscript-on-yaxis-values-in-proc-gplot/m-p/82939#M3071</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2013-07-18T02:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding superscript on yaxis values in proc gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-superscript-on-yaxis-values-in-proc-gplot/m-p/82940#M3072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SFO,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you'll have to hard-code each axis tickmark to use the superscript characters in gplot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since recent versions of SAS/Graph support unicode, you can do this using the built-in superscripted characters of a font such as "arial unicode ms".&amp;nbsp; The characters and their numeric codes are described here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts" title="https://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts"&gt;Unicode subscripts and superscripts - Wikipedia, the free encyclopedia&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, the hex code '2074'x represents a superscripted '4' and can be hard-coded as an axis tickmark as follows (this example shows how to hard-code it in the first tick mark of the y-axis):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goptions htext=3.5pct;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;axis1 value=(t=1 '10' font="arial unicode ms/unicode" '2074'x);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gplot data=sashelp.class;&lt;BR /&gt;plot height*weight / vaxis=axis1;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="foo.png" class="jive-image-thumbnail jive-image" height="409" src="https://communities.sas.com/legacyfs/online/3921_foo.png" width="784" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 12:45:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-superscript-on-yaxis-values-in-proc-gplot/m-p/82940#M3072</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2013-07-18T12:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Adding superscript on yaxis values in proc gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-superscript-on-yaxis-values-in-proc-gplot/m-p/82941#M3073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since some of the numbers you want to superscript will need a minus sign, I'll elaborate a little on that ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The character for a superscripted 'minus' is '207b'x, and you can combine that with the superscripted number as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goptions htext=3.5pct;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;axis1 value=(t=1 '10' font="arial unicode ms/unicode" '&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;207b&lt;/STRONG&gt;&lt;/SPAN&gt;2074'x);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gplot data=sashelp.class;&lt;BR /&gt;plot height*weight / vaxis=axis1;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="foo.png" class="jive-image-thumbnail jive-image" height="477" src="https://communities.sas.com/legacyfs/online/3922_foo.png" width="732" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 12:54:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-superscript-on-yaxis-values-in-proc-gplot/m-p/82941#M3073</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2013-07-18T12:54:19Z</dc:date>
    </item>
  </channel>
</rss>

