<?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: How to change variable/legend name in Y axis Female_LT50 to Female LT^(sub 50)? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/859006#M23513</link>
    <description>&lt;P&gt;Thanks and can those code be used for proc GLM, PLOTS=ALL, not a proc sgplot?&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2023 17:14:45 GMT</pubDate>
    <dc:creator>Davejones</dc:creator>
    <dc:date>2023-02-15T17:14:45Z</dc:date>
    <item>
      <title>How to change variable/legend name in Y axis Female_LT50 to Female LT^(sub 50)?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/858652#M23498</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods escapechar = '^';&lt;/P&gt;&lt;P&gt;title 'LT^{sub 50}';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used above to successfully add the subscript 50 to the title LT50, but was not able to Y axis variable/legend in PDF output figures. How to do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 03:03:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/858652#M23498</guid>
      <dc:creator>Davejones</dc:creator>
      <dc:date>2023-02-14T03:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to change variable/legend name in Y axis Female_LT50 to Female LT^(sub 50)?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/858653#M23499</link>
      <description>used&lt;BR /&gt;Label Female_LT50 = 'Female LT^{sub 50}';&lt;BR /&gt;Showed in Y axis&lt;BR /&gt;Female LT__SUB_50_SUB__</description>
      <pubDate>Tue, 14 Feb 2023 03:09:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/858653#M23499</guid>
      <dc:creator>Davejones</dc:creator>
      <dc:date>2023-02-14T03:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to change variable/legend name in Y axis Female_LT50 to Female LT^(sub 50)?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/858658#M23500</link>
      <description>&lt;P&gt;Assuming you are using the SGPLOT procedure, you can do it this way:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yaxis label="Female_LT^{unicode '2085'x}^{unicode '2080'x}";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might also need to specify a different font, depending on whether the font you are using support these Unicode values. I would recommend the following if you have this font issue:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yaxis label="Female_LT^{unicode '2085'x}^{unicode '2080'x}" valueattrs=(family="Arial Unicode MS");&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 05:22:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/858658#M23500</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2023-02-14T05:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to change variable/legend name in Y axis Female_LT50 to Female LT^(sub 50)?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/858701#M23501</link>
      <description>&lt;A href="https://communities.sas.com/t5/Graphics-Programming/Need-subscript-in-y-axis-title/td-p/844961" target="_blank"&gt;https://communities.sas.com/t5/Graphics-Programming/Need-subscript-in-y-axis-title/td-p/844961&lt;/A&gt;</description>
      <pubDate>Tue, 14 Feb 2023 11:39:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/858701#M23501</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-02-14T11:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to change variable/legend name in Y axis Female_LT50 to Female LT^(sub 50)?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/858729#M23503</link>
      <description>&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help and I'm using ODS style=statistical, proc GLM data=LT50 plots all; not SGPLOT&lt;/P&gt;&lt;P&gt;_____&lt;/P&gt;&lt;P&gt;%Macro LT50(var1, var2);&lt;BR /&gt;proc glm data=LT50 plots=all;&lt;BR /&gt;model &amp;amp;var1=&amp;amp;var2;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;_________&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 14:13:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/858729#M23503</guid>
      <dc:creator>Davejones</dc:creator>
      <dc:date>2023-02-14T14:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to change variable/legend name in Y axis Female_LT50 to Female LT^(sub 50)?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/858733#M23504</link>
      <description>&lt;P&gt;Ksharp,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and I actually want to change "50" to subscript in the variables "LT50" in y axis in the proc GLM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 14:36:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/858733#M23504</guid>
      <dc:creator>Davejones</dc:creator>
      <dc:date>2023-02-14T14:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to change variable/legend name in Y axis Female_LT50 to Female LT^(sub 50)?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/858916#M23510</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _anno;
length label $ 200;
 drawspace="layoutpercent"; function="text"; textweight="normal"; textsize=12;textcolor="black"; width=200;
 x1=2;y1=50;rotate=90;label="LT(*ESC*){sub '50'}"; output;
 run;
proc sgplot data=sashelp.class sganno=_anno;
reg x=weight y=height/clm cli;
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-1676461889003.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/80423i209FC398C7303480/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1676461889003.png" alt="Ksharp_0-1676461889003.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 11:51:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/858916#M23510</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-02-15T11:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to change variable/legend name in Y axis Female_LT50 to Female LT^(sub 50)?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/859006#M23513</link>
      <description>&lt;P&gt;Thanks and can those code be used for proc GLM, PLOTS=ALL, not a proc sgplot?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 17:14:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/859006#M23513</guid>
      <dc:creator>Davejones</dc:creator>
      <dc:date>2023-02-15T17:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to change variable/legend name in Y axis Female_LT50 to Female LT^(sub 50)?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/859171#M23520</link>
      <description>No, it is not.&lt;BR /&gt;But you can make a output dataset by OUTPUT OUT= of PROC GLM . And using PROC SGPLOT to get what you want.</description>
      <pubDate>Thu, 16 Feb 2023 11:58:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-variable-legend-name-in-Y-axis-Female-LT50-to/m-p/859171#M23520</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-02-16T11:58:41Z</dc:date>
    </item>
  </channel>
</rss>

