<?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: I cannot get sgrender to include sub/super scripts for labels in a scatter matrix(!!) in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/I-cannot-get-sgrender-to-include-sub-super-scripts-for-labels-in/m-p/173792#M6429</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's fine. I understand, I've been trying to also obtain subscripts and I haven't succeeded yet. At the moment, the only solution I can think off is including the required labels within the footnote.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jan 2015 16:28:58 GMT</pubDate>
    <dc:creator>djrisks</dc:creator>
    <dc:date>2015-01-08T16:28:58Z</dc:date>
    <item>
      <title>I cannot get sgrender to include sub/super scripts for labels in a scatter matrix(!!)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-cannot-get-sgrender-to-include-sub-super-scripts-for-labels-in/m-p/173788#M6425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the following code to produce a scatter matrix. It works fine, except for the labels and legend items, which require sub/superscripts. All I can get is replication of the SAS code within the quotes instead of the required labels. I have highlighted the code in red where I am trying to modify the labels. I am running SAS 9.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS ESCAPECHAR= '^';&lt;/P&gt;&lt;P&gt;ODS LISTING CLOSE;&lt;/P&gt;&lt;P&gt;ODS HTML FILE= 'N_MATRIX.HTML' PATH= "." STYLE= STYLES.N_MATRIX;&lt;/P&gt;&lt;P&gt;ODS GRAPHICS / IMAGENAME= 'N_MATRIX' IMAGEFMT= GIF ANTIALIASMAX= 34100;&lt;/P&gt;&lt;P&gt;ODS RTF FILE= "&amp;amp;FOLDER.\N_MATRIX.RTF" STYLE= STYLES.N_MATRIX;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC TEMPLATE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEFINE STATGRAPH SCATTERPLOTMATRIX;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BEGINGRAPH / DESIGNWIDTH=14.2CM DESIGNHEIGHT=16CM ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LAYOUT GRIDDED;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCATTERPLOTMATRIX&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SM_VOL STEMP_C /* _NH4_PPM_10 _NO3_PPM_10 _SWC_PCT_10 INT_PAR */ VEG_C SURF_C ECAIR ECRAD&amp;nbsp; EXT_PAR /&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GROUP= TREAT NAME= "MATRIX" INSET= (PEARSONPVAL) INSETOPTS=(BACKGROUNDCOLOR= WHITE&amp;nbsp; AUTOALIGN= AUTO TEXTATTRS=(FAMILY="Arial" SIZE=6pt WEIGHT=BOLD));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEGENDITEM NAME= "FER" / LABEL= "FER";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEGENDITEM NAME= "NH4" / LABEL= "NH^{UNICODE '2084'X}";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEGENDITEM NAME= "NO3" / LABEL= "NO^{UNICODE '2083'X}";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DISCRETELEGEND "MATRIX" / BACKGROUNDCOLOR= LIGHTGRAY;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDLAYOUT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDGRAPH;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC SGRENDER DATA= AUTO_ALLVAR2 TEMPLATE= SCATTERPLOTMATRIX;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;LABEL /*N2O_uGM2HR= "Flux N^{UNICODE '2082'X}O (^{UNICODE '03BC'X}g m^{UNICODE '3192'X}^{UNICODE '00b2'X} h^{UNICODE '3192'X}^{UNICODE '00b9'X})" */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXT_PAR= "PAR mmol m^{UNICODE '3192'X}^{UNICODE '00b2'X} s^{UNICODE '3192'X}^{UNICODE '00b9'X}"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TREAT= "Nitrogen treatment"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ECRAD= "Rad W m^{UNICODE '3192'X}^{UNICODE '00b2'X}"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ECAIR= "Air temp ^{UNICODE '2070'X}C"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SM_VOL= "Soil moisture m m^{UNICODE '3192'X}^{UNICODE '00b3'X}"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STEMP_C= "Soil temp ^{UNICODE '2070'X}C"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VEG_C = "Canopy temp ^{UNICODE '2070'X}C"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SURF_C= "Surface temp ^{UNICODE '2070'X}C"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NH4= "NH^{UNICODE '2084'X}"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NO3= "NO^{UNICODE '2083'X}";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS RTF CLOSE;&lt;/P&gt;&lt;P&gt;ODS LISTING;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 22:55:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-cannot-get-sgrender-to-include-sub-super-scripts-for-labels-in/m-p/173788#M6425</guid>
      <dc:creator>ninemileshigh</dc:creator>
      <dc:date>2015-01-07T22:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: I cannot get sgrender to include sub/super scripts for labels in a scatter matrix(!!)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-cannot-get-sgrender-to-include-sub-super-scripts-for-labels-in/m-p/173789#M6426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using hexadecimal may be the way you want to go because if you use the following statement within your Proc SGRENDER statemetn, you can get a superscript of 3 in your label.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; label EXT_PAR = Test&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;'b3'x&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 11:33:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-cannot-get-sgrender-to-include-sub-super-scripts-for-labels-in/m-p/173789#M6426</guid>
      <dc:creator>djrisks</dc:creator>
      <dc:date>2015-01-08T11:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: I cannot get sgrender to include sub/super scripts for labels in a scatter matrix(!!)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-cannot-get-sgrender-to-include-sub-super-scripts-for-labels-in/m-p/173790#M6427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this has helped me get my superscripts. I have spent so long trying to get this right! I am still not able to figure out the subscripts. I cannot find hex codes for all the characters I require (it's scientific notation, so I need subscript numbers and superscript minus sign).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 14:25:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-cannot-get-sgrender-to-include-sub-super-scripts-for-labels-in/m-p/173790#M6427</guid>
      <dc:creator>ninemileshigh</dc:creator>
      <dc:date>2015-01-08T14:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: I cannot get sgrender to include sub/super scripts for labels in a scatter matrix(!!)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-cannot-get-sgrender-to-include-sub-super-scripts-for-labels-in/m-p/173791#M6428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this can get a bit confusing, so here is way to determine if {SUP} and {SUB} are supported.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{SUP} and {SUB} ARE supported when the text string is rendered by a TITLE, FOOTNOTE, ENTRY or ANNOTATION statement.&amp;nbsp; These statements do not go through the "data" based graph rendering system and render the strings directly using Java. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{SUP} and {SUB} are NOT supported when the string is part of the data based graph itself, such as the axis items&amp;nbsp; (Axis Label or Axis Tick Values), Data Label, Curve Labels and Legend Labels (including the Legend Item).&amp;nbsp; One exception is if you make a LEGEND ITEM of type=TEXT.&amp;nbsp; In this case, the text string assigned to the TEXT= option can support {SUP} and {SUB}.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can us the built-in Unicode superscript or subscript glyphs in all of the above.&amp;nbsp; But the benefit of {SUB} is you can make any Unicode character or string into a subscript or superscript.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 15:01:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-cannot-get-sgrender-to-include-sub-super-scripts-for-labels-in/m-p/173791#M6428</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2015-01-08T15:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: I cannot get sgrender to include sub/super scripts for labels in a scatter matrix(!!)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-cannot-get-sgrender-to-include-sub-super-scripts-for-labels-in/m-p/173792#M6429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's fine. I understand, I've been trying to also obtain subscripts and I haven't succeeded yet. At the moment, the only solution I can think off is including the required labels within the footnote.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 16:28:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-cannot-get-sgrender-to-include-sub-super-scripts-for-labels-in/m-p/173792#M6429</guid>
      <dc:creator>djrisks</dc:creator>
      <dc:date>2015-01-08T16:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: I cannot get sgrender to include sub/super scripts for labels in a scatter matrix(!!)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-cannot-get-sgrender-to-include-sub-super-scripts-for-labels-in/m-p/173793#M6430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks- I have come to pretty much the same conclusion myself. I've tried all sorts but had no success with the subscripts. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 14:52:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-cannot-get-sgrender-to-include-sub-super-scripts-for-labels-in/m-p/173793#M6430</guid>
      <dc:creator>ninemileshigh</dc:creator>
      <dc:date>2015-01-09T14:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: I cannot get sgrender to include sub/super scripts for labels in a scatter matrix(!!)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-cannot-get-sgrender-to-include-sub-super-scripts-for-labels-in/m-p/173794#M6431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the advice. I find it strange that I can successfully use hex codes for superscripts in SGrender&amp;nbsp; but only for certain characters. The other odd thing is that when I define an axis label in proc format it is quite happy with unicode for superscript numbers, but not for - symbol and unicode subscripts don't work either. It's the same for SUP and SUB (SUP works but not SUB). I have decided to work around it with formatted text in my legend when I import the figure to MS Word.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 14:57:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-cannot-get-sgrender-to-include-sub-super-scripts-for-labels-in/m-p/173794#M6431</guid>
      <dc:creator>ninemileshigh</dc:creator>
      <dc:date>2015-01-09T14:57:47Z</dc:date>
    </item>
  </channel>
</rss>

