<?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 GTL Modify the attributes(color bold) of a specific tick label in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/GTL-Modify-the-attributes-color-bold-of-a-specific-tick-label/m-p/958187#M25250</link>
    <description>&lt;P&gt;My tick labels are assigned with a format associated with the XAXIS variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; ----------------------------------------------------------------------------       
 |       FORMAT NAME: X22WEEK  LENGTH:    3   NUMBER OF VALUES:   18        |       
 |   MIN LENGTH:   1  MAX LENGTH:  40  DEFAULT LENGTH:   8  FUZZ: STD       |       
 |--------------------------------------------------------------------------|       
 |START           |END             |LABEL  (VER. V7|V8   04FEB2025:05:10:07)|       
 |----------------+----------------+----------------------------------------|       
 |             -26|             -26|S                                       |       
 |               1|               1|D1                                      |       
 |              15|              15|W2                                      |       
 |              29|              29|W4                                      |       
 |              45|              45|W6                                      |       
 |              57|              57|W8                                      |       
 |              85|              85|SAE                                     |       
 |             109|             109|W16                                     |       
 |             123|             123|W18                                     |       
 |             165|             165|W24                                     |       
 |             178|             178|W26                                     |       
 |             190|             190|W28                                     |       
 |             253|             253|W36                                     |       
 |             337|             337|W48                                     |       
 |             421|             421|W60                                     |       
 |             435|             435|W62                                     |       
 |             446|             446|W64                                     |       
 |             505|             505|W72                                     |       
 ----------------------------------------------------------------------------       
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When the tick label is SAE I want it to be red and bold.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Feb 2025 13:23:42 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2025-02-04T13:23:42Z</dc:date>
    <item>
      <title>GTL Modify the attributes(color bold) of a specific tick label</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/GTL-Modify-the-attributes-color-bold-of-a-specific-tick-label/m-p/958187#M25250</link>
      <description>&lt;P&gt;My tick labels are assigned with a format associated with the XAXIS variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; ----------------------------------------------------------------------------       
 |       FORMAT NAME: X22WEEK  LENGTH:    3   NUMBER OF VALUES:   18        |       
 |   MIN LENGTH:   1  MAX LENGTH:  40  DEFAULT LENGTH:   8  FUZZ: STD       |       
 |--------------------------------------------------------------------------|       
 |START           |END             |LABEL  (VER. V7|V8   04FEB2025:05:10:07)|       
 |----------------+----------------+----------------------------------------|       
 |             -26|             -26|S                                       |       
 |               1|               1|D1                                      |       
 |              15|              15|W2                                      |       
 |              29|              29|W4                                      |       
 |              45|              45|W6                                      |       
 |              57|              57|W8                                      |       
 |              85|              85|SAE                                     |       
 |             109|             109|W16                                     |       
 |             123|             123|W18                                     |       
 |             165|             165|W24                                     |       
 |             178|             178|W26                                     |       
 |             190|             190|W28                                     |       
 |             253|             253|W36                                     |       
 |             337|             337|W48                                     |       
 |             421|             421|W60                                     |       
 |             435|             435|W62                                     |       
 |             446|             446|W64                                     |       
 |             505|             505|W72                                     |       
 ----------------------------------------------------------------------------       
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When the tick label is SAE I want it to be red and bold.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 13:23:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/GTL-Modify-the-attributes-color-bold-of-a-specific-tick-label/m-p/958187#M25250</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2025-02-04T13:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: GTL Modify the attributes(color bold) of a specific tick label</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/GTL-Modify-the-attributes-color-bold-of-a-specific-tick-label/m-p/958310#M25252</link>
      <description>&lt;P&gt;John.King ,&lt;/P&gt;
&lt;P&gt;Is this what you are looking for ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.class
out =class;
by sex;
run;
proc format;
value fmt
11='W1'
12='W2'
13='W3'
14='SAE'
15='W5'
16='W6'
;
run;



%sganno
data sganno;
 %SGTEXT(LABEL="SAE",ID="BAR",TEXTWEIGHT="BOLD",TEXTCOLOR="RED",FILLCOLOR="white",FILLTRANSPARENCY=0,X1SPACE="DATAVALUE",Y1SPACE="LAYOUTPERCENT",X1=14,Y1=12.8 )
run;

proc template;
define statgraph mergedLegend;
begingraph;
entrytitle "Linear Regression By Gender";
layout overlay;
scatterplot x=age y=weight / group=sex name="scat";
regressionplot x=age y=weight/ group=sex name="reg";
mergedlegend "scat" "reg" / border=true;
annotate / id="BAR";
endlayout;
endgraph;
end;
proc sgrender data=class template=mergedLegend sganno=sganno;
format age fmt.;
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-1738724408675.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/104350i8B806DDC26979133/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1738724408675.png" alt="Ksharp_0-1738724408675.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 07:57:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/GTL-Modify-the-attributes-color-bold-of-a-specific-tick-label/m-p/958310#M25252</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-02-05T07:57:06Z</dc:date>
    </item>
  </channel>
</rss>

