<?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 Fun With SAS ODS Graphics: Yet Another Text Plot Xmas Tree in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-Yet-Another-Text-Plot-Xmas-Tree/m-p/981279#M25763</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oxmastree2025.png" style="width: 384px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/112437iF5D03154B3B9142E/image-size/large?v=v2&amp;amp;px=999" role="button" title="oxmastree2025.png" alt="oxmastree2025.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another year, another SAS ODS Graphics text plot take on a &lt;A href="https://static.dezeen.com/uploads/2010/12/CHRISTMAS-CARD-big.gif" target="_self"&gt;neat Christmas card&lt;/A&gt;, this one from &lt;A href="https://www.dezeen.com/2010/12/24/designer-christmas-cards-3/" target="_self"&gt;dezeen's 2010 collection&lt;/A&gt;&amp;nbsp;. Happy Holidays, all!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* Fun With SAS ODS Graphics: Yet Another Text Plot Xmas Tree 
  SAS ODS Graphics take on a neat 2010 card at dezeen.com/2010/12/24/designer-christmas-cards-3;

data greetings;                                        * Generate text and x/y points for 'tree';
retain greeting '*|WE|WISH|YOU A|MERRY|CHRISTMAS|AND A HAPPY|NEW YEAR.' X .4 Y .85; 
output;

%SGANNO;                                               * Extend Y descender in "YEAR" to make a 'tree trunk';
DATA extend_Y;                                         * Generate a rectangle 'tree trunk';
%SGRECTANGLE(X1=153, Y1=169, WIDTH=4, HEIGHT=75, X1SPACE="DATAPIXEL", Y1SPACE="DATAPIXEL",
             ANCHOR="TOPLEFT", DRAWSPACE="GRAPHPIXEL", DISPLAY="FILL", FILLCOLOR="WHITE",
             HEIGHTUNIT="PIXEL", WIDTHUNIT="PIXEL"); 
                                                       * Generate annotated text plot 'tree' on ellipse plot 'snow hill';
ods graphics / reset antialias width=4in height=6in noborder imagefmt=png antialias; 
proc sgplot data=greetings noautolegend nowall pad=3 noborder sganno=extend_Y;  
styleattrs backcolor=cx008975;                         * Greenish background;
text x=x y=y text=greeting / position=bottom textattrs=(color=white size=24pt weight=bold) splitchar='|' splitpolicy=splitalways contributeoffsets=none; * White lettering;
ellipseparm semimajor=2 semiminor=.35 / xorigin=.4 yorigin=-.2 nooutline fill fillattrs=(color=white); * White snow hill;
xaxis display=none values=(0 1) offsetmax=0 offsetmin=0; * Suppress axes;
yaxis display=none values=(0 1) offsetmax=0 offsetmin=0;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Dec 2025 05:24:24 GMT</pubDate>
    <dc:creator>tc</dc:creator>
    <dc:date>2025-12-24T05:24:24Z</dc:date>
    <item>
      <title>Fun With SAS ODS Graphics: Yet Another Text Plot Xmas Tree</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-Yet-Another-Text-Plot-Xmas-Tree/m-p/981279#M25763</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oxmastree2025.png" style="width: 384px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/112437iF5D03154B3B9142E/image-size/large?v=v2&amp;amp;px=999" role="button" title="oxmastree2025.png" alt="oxmastree2025.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another year, another SAS ODS Graphics text plot take on a &lt;A href="https://static.dezeen.com/uploads/2010/12/CHRISTMAS-CARD-big.gif" target="_self"&gt;neat Christmas card&lt;/A&gt;, this one from &lt;A href="https://www.dezeen.com/2010/12/24/designer-christmas-cards-3/" target="_self"&gt;dezeen's 2010 collection&lt;/A&gt;&amp;nbsp;. Happy Holidays, all!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* Fun With SAS ODS Graphics: Yet Another Text Plot Xmas Tree 
  SAS ODS Graphics take on a neat 2010 card at dezeen.com/2010/12/24/designer-christmas-cards-3;

data greetings;                                        * Generate text and x/y points for 'tree';
retain greeting '*|WE|WISH|YOU A|MERRY|CHRISTMAS|AND A HAPPY|NEW YEAR.' X .4 Y .85; 
output;

%SGANNO;                                               * Extend Y descender in "YEAR" to make a 'tree trunk';
DATA extend_Y;                                         * Generate a rectangle 'tree trunk';
%SGRECTANGLE(X1=153, Y1=169, WIDTH=4, HEIGHT=75, X1SPACE="DATAPIXEL", Y1SPACE="DATAPIXEL",
             ANCHOR="TOPLEFT", DRAWSPACE="GRAPHPIXEL", DISPLAY="FILL", FILLCOLOR="WHITE",
             HEIGHTUNIT="PIXEL", WIDTHUNIT="PIXEL"); 
                                                       * Generate annotated text plot 'tree' on ellipse plot 'snow hill';
ods graphics / reset antialias width=4in height=6in noborder imagefmt=png antialias; 
proc sgplot data=greetings noautolegend nowall pad=3 noborder sganno=extend_Y;  
styleattrs backcolor=cx008975;                         * Greenish background;
text x=x y=y text=greeting / position=bottom textattrs=(color=white size=24pt weight=bold) splitchar='|' splitpolicy=splitalways contributeoffsets=none; * White lettering;
ellipseparm semimajor=2 semiminor=.35 / xorigin=.4 yorigin=-.2 nooutline fill fillattrs=(color=white); * White snow hill;
xaxis display=none values=(0 1) offsetmax=0 offsetmin=0; * Suppress axes;
yaxis display=none values=(0 1) offsetmax=0 offsetmin=0;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Dec 2025 05:24:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-Yet-Another-Text-Plot-Xmas-Tree/m-p/981279#M25763</guid>
      <dc:creator>tc</dc:creator>
      <dc:date>2025-12-24T05:24:24Z</dc:date>
    </item>
  </channel>
</rss>

