<?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 Italicize portion of yaxis label and rest would be normal? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-Italicize-portion-of-yaxis-label-and-rest-would-be-normal/m-p/895713#M24126</link>
    <description>&lt;P&gt;Rich-text functionality is not currently supported in axis labels. You'll need to use annotation to do it. Something like the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data axislabel;
retain drawspace "wallpercent" x1 -7.5 y1 50 rotate 90 textsize 12 width 50;
input function $ textstyle $ label $ 17-26;
cards;
text     normal Normal 
textcont italic Italicized
;
run;

proc sgplot data=sample sganno=axislabel pad=(left=30);
scatter x=x y=y / markerattrs=(symbol=circlefilled);
yaxis display=(nolabel);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 25 Sep 2023 16:33:54 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2023-09-25T16:33:54Z</dc:date>
    <item>
      <title>How to Italicize portion of yaxis label and rest would be normal?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-Italicize-portion-of-yaxis-label-and-rest-would-be-normal/m-p/895660#M24123</link>
      <description>&lt;P&gt;data sample;&lt;BR /&gt;input x y;&lt;BR /&gt;datalines;&lt;BR /&gt;1 10&lt;BR /&gt;2 20&lt;BR /&gt;3 15&lt;BR /&gt;4 25&lt;BR /&gt;5 30&lt;BR /&gt;;&lt;BR /&gt;ods rtf file="\\Desktop\RC\test.rtf" bodytitle_aux image_dpi = 300 nogfootnote nogtitle;&lt;BR /&gt;ods escapechar = '^';&lt;BR /&gt;/* Create a scatter plot with a custom Y-axis label */&lt;BR /&gt;proc sgplot data=sample;&lt;BR /&gt;scatter x=x y=y / markerattrs=(symbol=circlefilled);&lt;BR /&gt;yaxis label="Normal(i^Italicized)" labelattrs=(size=12 );&lt;BR /&gt;run;&lt;BR /&gt;ods _all_ close;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 13:45:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-Italicize-portion-of-yaxis-label-and-rest-would-be-normal/m-p/895660#M24123</guid>
      <dc:creator>nickpatel</dc:creator>
      <dc:date>2023-09-25T13:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Italicize portion of yaxis label and rest would be normal?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-Italicize-portion-of-yaxis-label-and-rest-would-be-normal/m-p/895680#M24124</link>
      <description>&lt;P&gt;First tell exactly which part of the label is to be in italics.&lt;/P&gt;
&lt;P&gt;It isn't really clear from your code. Generally any modifier to text appearance come before the actual text to modify. So your attempt would possibly only effect a closing ).&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 15:17:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-Italicize-portion-of-yaxis-label-and-rest-would-be-normal/m-p/895680#M24124</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-09-25T15:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Italicize portion of yaxis label and rest would be normal?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-Italicize-portion-of-yaxis-label-and-rest-would-be-normal/m-p/895681#M24125</link>
      <description>&lt;P&gt;Hi Ballardw,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for help. In label&amp;nbsp;"Normal(i^Italicized)"&amp;nbsp; .. the part it says "Italicized" need to be&amp;nbsp;Italicized.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 15:33:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-Italicize-portion-of-yaxis-label-and-rest-would-be-normal/m-p/895681#M24125</guid>
      <dc:creator>nickpatel</dc:creator>
      <dc:date>2023-09-25T15:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to Italicize portion of yaxis label and rest would be normal?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-Italicize-portion-of-yaxis-label-and-rest-would-be-normal/m-p/895713#M24126</link>
      <description>&lt;P&gt;Rich-text functionality is not currently supported in axis labels. You'll need to use annotation to do it. Something like the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data axislabel;
retain drawspace "wallpercent" x1 -7.5 y1 50 rotate 90 textsize 12 width 50;
input function $ textstyle $ label $ 17-26;
cards;
text     normal Normal 
textcont italic Italicized
;
run;

proc sgplot data=sample sganno=axislabel pad=(left=30);
scatter x=x y=y / markerattrs=(symbol=circlefilled);
yaxis display=(nolabel);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Sep 2023 16:33:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-Italicize-portion-of-yaxis-label-and-rest-would-be-normal/m-p/895713#M24126</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2023-09-25T16:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Italicize portion of yaxis label and rest would be normal?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-Italicize-portion-of-yaxis-label-and-rest-would-be-normal/m-p/895731#M24127</link>
      <description>&lt;P&gt;hi Dan,&lt;/P&gt;&lt;P&gt;Thank you so much, so using annotation dataset works...&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;nick&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 17:24:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-Italicize-portion-of-yaxis-label-and-rest-would-be-normal/m-p/895731#M24127</guid>
      <dc:creator>nickpatel</dc:creator>
      <dc:date>2023-09-25T17:24:39Z</dc:date>
    </item>
  </channel>
</rss>

