<?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: applying format with superscript in SGPLOT in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/applying-format-with-superscript-in-SGPLOT/m-p/73611#M2684</link>
    <description>Maurice,&lt;BR /&gt;
&lt;BR /&gt;
This is a long shot, so if it doesn't work, I won't be surprised and apologize in advance for wasting the bandwidth.&lt;BR /&gt;
&lt;BR /&gt;
Try changing your escapechar, to something like '^'. In my experience, '\' is unreliable as an escapechar. Why? I don't know for sure, but my theory is that: 1) &lt;BR /&gt;
windows tries to use it as a sub-directory separator as in unix and gets confused in the ods context; 2) the RTF specification uses it as it's own escape character and ODS and RTF may be interacting in some way and so it doesn't behave as expected.&lt;BR /&gt;
&lt;BR /&gt;
As I say, it's a long shot. Good luck.</description>
    <pubDate>Wed, 07 Apr 2010 14:15:46 GMT</pubDate>
    <dc:creator>KarlK</dc:creator>
    <dc:date>2010-04-07T14:15:46Z</dc:date>
    <item>
      <title>applying format with superscript in SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/applying-format-with-superscript-in-SGPLOT/m-p/73610#M2683</link>
      <description>Hello,&lt;BR /&gt;
I would like to make a boxplot with SGRENDER. I am using customized format for the values of my independent variable. Now, I wanna add a superscript "[1]" in my format value and let it appear in the picture. By the way, my destination is RTF. How shall I make it? Thanks in advance!&lt;BR /&gt;
&lt;BR /&gt;
Below is my code:&lt;BR /&gt;
&lt;BR /&gt;
proc format;&lt;BR /&gt;
   value study 1='Neonates'&lt;BR /&gt;
                     2='Infants'&lt;BR /&gt;
		     3='Toddlers'&lt;BR /&gt;
		     5='Children'&lt;BR /&gt;
		     6='Adolencents'&lt;BR /&gt;
		     7='Adults(K)\{super [1]}'   /*This \{super [1]} does not work*/&lt;BR /&gt;
		     11='Adults(S)'&lt;BR /&gt;
			   ;&lt;BR /&gt;
run; &lt;BR /&gt;
&lt;BR /&gt;
proc template;&lt;BR /&gt;
  define style Styles.boxplot;&lt;BR /&gt;
    parent = styles.statistical;&lt;BR /&gt;
   style GraphBox from Graphbox/&lt;BR /&gt;
     capstyle = "bracket";&lt;BR /&gt;
  &lt;BR /&gt;
   style GraphBoxMean from GraphBoxMean /&lt;BR /&gt;
      markersymbol=" diamondfilled "&lt;BR /&gt;
      contrastcolor=GraphColors("gcdata1")&lt;BR /&gt;
      markersize = 3px;&lt;BR /&gt;
&lt;BR /&gt;
  end;&lt;BR /&gt;
&lt;BR /&gt;
  define statgraph box;&lt;BR /&gt;
   begingraph;&lt;BR /&gt;
    layout lattice /columns=1 rows=2;&lt;BR /&gt;
     layout overlay;&lt;BR /&gt;
	   boxplot y=bw x=stud /display=(CAPS FILL MEAN MEDIAN NOTCHES OUTLIERS);&lt;BR /&gt;
	 endlayout;&lt;BR /&gt;
     layout overlay;&lt;BR /&gt;
	   boxplot y=pna x=stud /display=(CAPS FILL MEAN MEDIAN NOTCHES OUTLIERS);&lt;BR /&gt;
	 endlayout;&lt;BR /&gt;
    endlayout;&lt;BR /&gt;
   endgraph;&lt;BR /&gt;
  end;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods rtf style= Journal;&lt;BR /&gt;
ods ESCAPECHAR="\";&lt;BR /&gt;
proc sgrender data=summary template=box;&lt;BR /&gt;
run;&lt;BR /&gt;
ods rtf close;</description>
      <pubDate>Tue, 06 Apr 2010 15:08:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/applying-format-with-superscript-in-SGPLOT/m-p/73610#M2683</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-04-06T15:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: applying format with superscript in SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/applying-format-with-superscript-in-SGPLOT/m-p/73611#M2684</link>
      <description>Maurice,&lt;BR /&gt;
&lt;BR /&gt;
This is a long shot, so if it doesn't work, I won't be surprised and apologize in advance for wasting the bandwidth.&lt;BR /&gt;
&lt;BR /&gt;
Try changing your escapechar, to something like '^'. In my experience, '\' is unreliable as an escapechar. Why? I don't know for sure, but my theory is that: 1) &lt;BR /&gt;
windows tries to use it as a sub-directory separator as in unix and gets confused in the ods context; 2) the RTF specification uses it as it's own escape character and ODS and RTF may be interacting in some way and so it doesn't behave as expected.&lt;BR /&gt;
&lt;BR /&gt;
As I say, it's a long shot. Good luck.</description>
      <pubDate>Wed, 07 Apr 2010 14:15:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/applying-format-with-superscript-in-SGPLOT/m-p/73611#M2684</guid>
      <dc:creator>KarlK</dc:creator>
      <dc:date>2010-04-07T14:15:46Z</dc:date>
    </item>
  </channel>
</rss>

