<?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: Greek Letters in SGPANEL in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Greek-Letters-in-SGPANEL/m-p/879061#M347309</link>
    <description>The special characters, aside from beta, show up as question marks when I output.</description>
    <pubDate>Fri, 02 Jun 2023 16:02:57 GMT</pubDate>
    <dc:creator>mariko5797</dc:creator>
    <dc:date>2023-06-02T16:02:57Z</dc:date>
    <item>
      <title>Greek Letters in SGPANEL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Greek-Letters-in-SGPANEL/m-p/879015#M347285</link>
      <description>&lt;P&gt;I am trying to get the Greek letters to appear in the panel headers. I can get beta to show b/c SAS is able to recognize that character. But copying alpha into SAS shows up as 'a' and copying gamma into SAS shows up as '?'. Unicode works fine in titles but it does not seem to like in for panel headers. I saw a previous post from 2014 that said (*ESC*) (and similar) does not work with panel headers. Is this true? If so, are there other ways to obtain Greek letters in the headers?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
 value $stype
 	"EGFRS"	= "EGF" 		"ETXRS" = "Eotaxin"		"FGFRS"	= "FGF-2"		"FLTRS"	= "Flt-3L"	"FRCRS" = "Fractalkine"
	"GSFRS"	= "G-CSF"		"GMCRS"	= "GM-CSF"		"GRORS"	= "GRO"
	"I10RS"	= "IL-10"		"I40RS"	= "IL12-P40" 	"I70RS"	= "IL12-P70"	"I15RS"= "IL-15"	"I13RS"= "IL-13"	
	"IL2RS"	= "IL-2"		"IL3RS"	= "IL-3"		"IL4RS" = "IL-4"		"IL5RS"	= "IL-5"	"IL6RS"	= "IL-6"	
	"IL7RS"	= "IL-7"		"IL8RS"	= "IL-8"		"IL9RS"	= "IL-9"
	"I1RRS"	= "IL1-RA"		"I1BRS"	= "IL-1ß"		"I17RS"	= "IL17A"	
	"P10RS"	= "IP-10"		"MP1RS"	= "MCP-1"		"MCPRS"	= "MCP-3" 		"MDCRS"	= "MDC"		"MPBRS"	= "MIP1ß"
	"C40RS"	= "sCD40L"		"TFBRS"	= "TNFß"		"VEGRS"	= "VEGF"
	"IFYRS"	= "IFN(*ESC*){unicode 03B3}"					"IFARS"	= "IFN(*ESC*){unicode 03B1}2"	
	"I1ARS"	= "IL-1(*ESC*){unicode 03B1}"					"MPARS"	= "MIP1(*ESC*){unicode 03B1}"	
	"TGFRS"	= "TGF-(*ESC*){unicode 03B1}"					"TFARS"	= "TNF(*ESC*){unicode 03B1}"
	;
run;

ods graphics on	/ reset= index border= no width= 7.35in height= 9.0in attrpriority= none;
proc sgpanel data= rpt(where= (fig= "&amp;amp;FIG.")) dattrmap= attrmap noautolegend;
	panelby stype	/ novarname rows= 5 columns= 1 uniscale= column headerattrs= (family= "Times New Roman");
	series 	x= plvisdy y= med	/ group= grp	attrid= prtct;
	scatter x= plvisdy y= med	/ group= grp 	attrid= prtct	yerrorupper= q3 yerrorlower= q1;
	rowaxis label= "Additive Change from Baseline"	/*logbase= 2	logstyle= logexpand type= log*/;	/*Note: Cannot scale by log with zero present.*/											
	colaxis label= "Study Day"	fitpolicy= stagger 	values= (1 29 57 71 85 120 141 176 323 379 558);

	refline 1 29 57 85 141	/ axis= x lineattrs= (pattern=4);
	refline 176 379	/ axis= x;

	keylegend 		/ across= 3 type= linecolor exclude= ('.') title= "Protection Status" noborder position= bottom;

	format stype $stype.;
run;

ods graphics off; ods listing close;
ods word close;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Jun 2023 14:33:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Greek-Letters-in-SGPANEL/m-p/879015#M347285</guid>
      <dc:creator>mariko5797</dc:creator>
      <dc:date>2023-06-02T14:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Greek Letters in SGPANEL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Greek-Letters-in-SGPANEL/m-p/879049#M347304</link>
      <description>&lt;P&gt;Please have a look at the following code and analyze the output.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
  value fmtyear
    1993 = "(*ESC*){unicode '03B1'x}"
    1994 = "(*ESC*){unicode '03B2'x}"
 ;
run;

libname sashutf8 "/home/&amp;amp;sysuserid/sashutf8" outencoding='UTF-8';

data sashutf8.prdsale;
   set sashelp.prdsale;
   if product eq 'BED' then product = "κρεβάτι";
   else if product eq 'SOFA' then product = "καναπές";
   else if product eq 'CHAIR' then product = "καρέκλα";
   else if product eq 'DESK' then product = "γραφείο";
   else product = "άγνωστος";
   format year fmtyear.;
run;

proc sgpanel data=sashutf8.prdsale;
  title "Ετήσιες πωλήσεις ανά προϊόν";
  panelby year / novarname columns=1;
  hbar product / response=actual;
run;

title;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;NOTE: I've run this on SAS OnDemand for Academics.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 15:41:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Greek-Letters-in-SGPANEL/m-p/879049#M347304</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2023-06-02T15:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Greek Letters in SGPANEL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Greek-Letters-in-SGPANEL/m-p/879061#M347309</link>
      <description>The special characters, aside from beta, show up as question marks when I output.</description>
      <pubDate>Fri, 02 Jun 2023 16:02:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Greek-Letters-in-SGPANEL/m-p/879061#M347309</guid>
      <dc:creator>mariko5797</dc:creator>
      <dc:date>2023-06-02T16:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Greek Letters in SGPANEL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Greek-Letters-in-SGPANEL/m-p/879074#M347310</link>
      <description>&lt;P&gt;SAS executes on which operating system? Do you know how to start SAS with unicode support?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is part of my output on SAS OnDemand for Academics:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JosvanderVelden_0-1685723350704.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84700iBF7067AABB91E2FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JosvanderVelden_0-1685723350704.png" alt="JosvanderVelden_0-1685723350704.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;See also: &lt;A href="https://communities.sas.com/t5/SAS-Programming/changing-the-encoding-of-my-SAS-session/td-p/726972" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/changing-the-encoding-of-my-SAS-session/td-p/726972&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 16:31:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Greek-Letters-in-SGPANEL/m-p/879074#M347310</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2023-06-02T16:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Greek Letters in SGPANEL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Greek-Letters-in-SGPANEL/m-p/879144#M347324</link>
      <description>&lt;P&gt;Your usage of UNICODE is not right .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
 value $ stype
	"IBM"	= "IFN(*ESC*){unicode '03B3'x}"	
	"Intel"	= "IL-1(*ESC*){unicode '03B1'x}"	
	"Microsoft"	= "TGF-(*ESC*){unicode '03B1'x}"	
	;
run;

data have;
 set sashelp.stocks;
format stock $stype.;
run;

proc sgpanel data=have noautolegend;
	panelby stock	/ novarname layout=panel onepanel rows=3 uniscale= column ;
	series 	x= date y= close/group=stock;

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-1685783460249.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84725i8A3863509CF0D97D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1685783460249.png" alt="Ksharp_0-1685783460249.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jun 2023 09:10:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Greek-Letters-in-SGPANEL/m-p/879144#M347324</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-06-03T09:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Greek Letters in SGPANEL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Greek-Letters-in-SGPANEL/m-p/879146#M347325</link>
      <description>&lt;P&gt;Also could directly refer to Greek letter in UNICODE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
 value $ stype
	"IBM"	= "IFN(*ESC*){unicode alpha}"	
	"Intel"	= "IL-1(*ESC*){unicode beta}"	
	"Microsoft"	= "TGF-(*ESC*){unicode gamma}"	
	;
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-1685783796691.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84726i9692B954585EA293/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1685783796691.png" alt="Ksharp_0-1685783796691.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jun 2023 09:16:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Greek-Letters-in-SGPANEL/m-p/879146#M347325</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-06-03T09:16:32Z</dc:date>
    </item>
  </channel>
</rss>

