<?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: I'm Dreaming of a Green St. Patrick's Day in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-I-m-Dreaming-of-a-Green-St-Patrick-s/m-p/920568#M24478</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StPatricksDayWreath.png" style="width: 480px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94682i020E1A6F6E77FF61/image-size/large?v=v2&amp;amp;px=999" role="button" title="StPatricksDayWreath.png" alt="StPatricksDayWreath.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Happy St. Patrick's Day (and a belated Happy Pi Day), all!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* Fun w/SAS ODS Graphics: I'm Dreaming of a Green St. Patrick's Day;

data shamrocks;               * Plot Shamrock icons in a circle to create a St. Patrick's day 'wreath';
retain msg "HAPPY*ST. PATRICK'S*DAY!" msgX 0 MsgY 0;
pi=constant("pi");
do i=1 to 12;                 * Plot 12 points around circle (From blogs.sas.com/content/graphicallyspeaking/2018/11/01/text-plot-can-do-that/);
  angle=90-i*30;
  x=cos(angle*pi/180);
  y=sin(angle*pi/180);
  output;
end;

ods graphics / width=5in height=5in antialias noborder; * St. Patrick's Day 'Wreath' (Scatter + Text Plot);
proc sgplot data=shamrocks noautolegend noborder pad=0 aspect=1 nowall subpixel noborder pad=0;
symbolimage name=shamrock image='/home/ted.conway/shamrock.png'; * MS-Word shamrock icon saved as .png file;
styleattrs backcolor=VPAG;   * Very pale green background;              
scatter x=x y=y / markerattrs=(color=cx009a49 size=80pt symbol=shamrock); * Plot 'shamrocks';
text x=msgY y=msgY text=msg / textattrs=(size=22pt color=cx224d17 weight=bold) position=center splitchar='*' splitpolicy=splitalways contributeoffsets=none strip;; * Message;
xaxis display=none offsetmin=0 offsetmax=0 values=(-1.4 1.4); * Suppress labels/ticks on axes, set bounds;
yaxis display=none offsetmin=0 offsetmax=0 values=(-1.4 1.4);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MS-Word Shamrock Icon (saved as .png)" style="width: 148px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94683iB51D99A37E538098/image-size/small?v=v2&amp;amp;px=200" role="button" title="shamrock.png" alt="MS-Word Shamrock Icon (saved as .png)" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;MS-Word Shamrock Icon (saved as .png)&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Mar 2024 17:20:39 GMT</pubDate>
    <dc:creator>tc</dc:creator>
    <dc:date>2024-03-16T17:20:39Z</dc:date>
    <item>
      <title>Fun With SAS ODS Graphics: I'm Dreaming of a Green St. Patrick's Day</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-I-m-Dreaming-of-a-Green-St-Patrick-s/m-p/920568#M24478</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StPatricksDayWreath.png" style="width: 480px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94682i020E1A6F6E77FF61/image-size/large?v=v2&amp;amp;px=999" role="button" title="StPatricksDayWreath.png" alt="StPatricksDayWreath.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Happy St. Patrick's Day (and a belated Happy Pi Day), all!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* Fun w/SAS ODS Graphics: I'm Dreaming of a Green St. Patrick's Day;

data shamrocks;               * Plot Shamrock icons in a circle to create a St. Patrick's day 'wreath';
retain msg "HAPPY*ST. PATRICK'S*DAY!" msgX 0 MsgY 0;
pi=constant("pi");
do i=1 to 12;                 * Plot 12 points around circle (From blogs.sas.com/content/graphicallyspeaking/2018/11/01/text-plot-can-do-that/);
  angle=90-i*30;
  x=cos(angle*pi/180);
  y=sin(angle*pi/180);
  output;
end;

ods graphics / width=5in height=5in antialias noborder; * St. Patrick's Day 'Wreath' (Scatter + Text Plot);
proc sgplot data=shamrocks noautolegend noborder pad=0 aspect=1 nowall subpixel noborder pad=0;
symbolimage name=shamrock image='/home/ted.conway/shamrock.png'; * MS-Word shamrock icon saved as .png file;
styleattrs backcolor=VPAG;   * Very pale green background;              
scatter x=x y=y / markerattrs=(color=cx009a49 size=80pt symbol=shamrock); * Plot 'shamrocks';
text x=msgY y=msgY text=msg / textattrs=(size=22pt color=cx224d17 weight=bold) position=center splitchar='*' splitpolicy=splitalways contributeoffsets=none strip;; * Message;
xaxis display=none offsetmin=0 offsetmax=0 values=(-1.4 1.4); * Suppress labels/ticks on axes, set bounds;
yaxis display=none offsetmin=0 offsetmax=0 values=(-1.4 1.4);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MS-Word Shamrock Icon (saved as .png)" style="width: 148px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94683iB51D99A37E538098/image-size/small?v=v2&amp;amp;px=200" role="button" title="shamrock.png" alt="MS-Word Shamrock Icon (saved as .png)" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;MS-Word Shamrock Icon (saved as .png)&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Mar 2024 17:20:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-I-m-Dreaming-of-a-Green-St-Patrick-s/m-p/920568#M24478</guid>
      <dc:creator>tc</dc:creator>
      <dc:date>2024-03-16T17:20:39Z</dc:date>
    </item>
  </channel>
</rss>

