<?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: Are You Ready for Some Thanksgiving Football? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-Are-You-Ready-for-Some-Thanksgiving/m-p/979647#M25747</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AreYouReadyForSomeThanksgivingFootball.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/111601i7BBAA117C5C0F5D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="AreYouReadyForSomeThanksgivingFootball.png" alt="AreYouReadyForSomeThanksgivingFootball.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A Thanksgiving Day football-themed remix of the &lt;A href="https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-quot-Construction-Paper-quot/td-p/701713" target="_self"&gt;"Construction Paper" Thanksgiving Turkey&lt;/A&gt; post from 2020. Happy Thanksgiving, 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: Are You Ready for Some Thanksgiving Football?;
  
data turkey;                         * Need points for 10 football icons that make up turkey's "feathers";
xnbr=0; ynbr=0; txtnbr='15';         * x/y points for player's number;
xnm=0; ynm=-.4; txtnm='MAHOMES';     * x/y points for player's name;
r=1;
do aDeg=-30 to 210 by 24;            * aDeg is angle in degrees; 
  aRad=2*constant("pi")*r*aDeg/360;  * aRad is angle in radians;
  x=1.15*r*cos(aRad);                * Compute x,y coordinates;
  y=1.15*r*sin(aRad);              
  c+1;                               * Assign 1 of 4 colors (cycle thru them);
  color=mod(c-1,4); 
  output;
end;

proc format;                         * Assign differently=colored MS-Word football icons to "feathers";  
value iconf
0='/home/ted.conway/footballicon_sienna.png' 1='/home/ted.conway/footballicon_red.png'
2='/home/ted.conway/footballicon_orange.png' 3='/home/ted.conway/footballicon_yellow.png';

data images;                        * Use SAS-provided macros to create annotate dataset to position/size images in image;
%SGANNO;                            * Headshot of Patrick Mahomes - cropped to circle shape to fit turkey's head;          
%SGIMAGE (image="/home/ted.conway/pmahomes3.png",layer="front", drawspace="datavalue",imagescale="fitheight",x1=0,y1=.75,height=.8,heightunit="DATA",anchor="CENTER");
do while(^eof);
set turkey end=eof;                 * Turkey "feathers" - MS-Word football icons in Thanksgiving colors (sienna red orange yellow);
%SGIMAGE (image=put(color, iconf.),layer="back",rotate=adeg,drawspace="datavalue",imagescale="fitheight",x1=X,y1=Y,height=1,heightunit="DATA",anchor="CENTER");
end;
stop;
                                    * Let's "bake" our turkey!;
ods listing image_dpi=300 gpath='/home/ted.conway/';
ods graphics on / reset antialias width=5in height=5in imagename="Turkey2025" imagefmt=svg noborder;
proc sgplot data=turkey aspect=1 noautolegend noborder nowall sganno=images;  * Seasons greetings!;
inset "HAPPY THANKSGIVING!" / textattrs=(size=24pt weight=bold color=black) position=top;
inset "2025" / textattrs=(size=24pt weight=bold color=black) position=bottom;  * "Body" (brpwn ellipse);
ellipseparm semiminor=.7 semimajor=.7 / xorigin=0 yorigin=0 slope=0 fill fillattrs=(color=brown);  * "Head" (brpwn ellipse);
ellipseparm semiminor=.4 semimajor=.4 / xorigin=0 yorigin=.75 slope=0 fill fillattrs=(color=brown);
text x=xnbr y=ynbr text=txtnbr / textattrs=(size=60pt weight=bold color=red); * Player's uniform #;
text x=xnm y=ynm text=txtnm / textattrs=(size=16pt weight=bold color=white); * Player's name;
xaxis display=none values=(-1.7 1.7)  offsetmin=0 offsetmax=0;
yaxis display=none  values=(-1.3 2.1) offsetmin=0 offsetmax=0;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IMAGES USED (SOURCE: MS-WORD ICONS, ESPN.COM)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="footballicon_red.png" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/111602i68B626EE280BF1EE/image-size/small?v=v2&amp;amp;px=200" role="button" title="footballicon_red.png" alt="footballicon_red.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="footballicon_sienna.png" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/111607iD91E9070FB4CD89B/image-size/small?v=v2&amp;amp;px=200" role="button" title="footballicon_sienna.png" alt="footballicon_sienna.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="footballicon_yellow.png" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/111606iDD1826712445CDBF/image-size/small?v=v2&amp;amp;px=200" role="button" title="footballicon_yellow.png" alt="footballicon_yellow.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="footballicon_orange.png" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/111604iBC31A20701723490/image-size/small?v=v2&amp;amp;px=200" role="button" title="footballicon_orange.png" alt="footballicon_orange.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pmahomes3.png" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/111608i0F0CC98A263DF03F/image-size/small?v=v2&amp;amp;px=200" role="button" title="pmahomes3.png" alt="pmahomes3.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Nov 2025 08:53:25 GMT</pubDate>
    <dc:creator>tc</dc:creator>
    <dc:date>2025-11-27T08:53:25Z</dc:date>
    <item>
      <title>Fun With SAS ODS Graphics: Are You Ready for Some Thanksgiving Football?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-Are-You-Ready-for-Some-Thanksgiving/m-p/979647#M25747</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AreYouReadyForSomeThanksgivingFootball.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/111601i7BBAA117C5C0F5D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="AreYouReadyForSomeThanksgivingFootball.png" alt="AreYouReadyForSomeThanksgivingFootball.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A Thanksgiving Day football-themed remix of the &lt;A href="https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-quot-Construction-Paper-quot/td-p/701713" target="_self"&gt;"Construction Paper" Thanksgiving Turkey&lt;/A&gt; post from 2020. Happy Thanksgiving, 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: Are You Ready for Some Thanksgiving Football?;
  
data turkey;                         * Need points for 10 football icons that make up turkey's "feathers";
xnbr=0; ynbr=0; txtnbr='15';         * x/y points for player's number;
xnm=0; ynm=-.4; txtnm='MAHOMES';     * x/y points for player's name;
r=1;
do aDeg=-30 to 210 by 24;            * aDeg is angle in degrees; 
  aRad=2*constant("pi")*r*aDeg/360;  * aRad is angle in radians;
  x=1.15*r*cos(aRad);                * Compute x,y coordinates;
  y=1.15*r*sin(aRad);              
  c+1;                               * Assign 1 of 4 colors (cycle thru them);
  color=mod(c-1,4); 
  output;
end;

proc format;                         * Assign differently=colored MS-Word football icons to "feathers";  
value iconf
0='/home/ted.conway/footballicon_sienna.png' 1='/home/ted.conway/footballicon_red.png'
2='/home/ted.conway/footballicon_orange.png' 3='/home/ted.conway/footballicon_yellow.png';

data images;                        * Use SAS-provided macros to create annotate dataset to position/size images in image;
%SGANNO;                            * Headshot of Patrick Mahomes - cropped to circle shape to fit turkey's head;          
%SGIMAGE (image="/home/ted.conway/pmahomes3.png",layer="front", drawspace="datavalue",imagescale="fitheight",x1=0,y1=.75,height=.8,heightunit="DATA",anchor="CENTER");
do while(^eof);
set turkey end=eof;                 * Turkey "feathers" - MS-Word football icons in Thanksgiving colors (sienna red orange yellow);
%SGIMAGE (image=put(color, iconf.),layer="back",rotate=adeg,drawspace="datavalue",imagescale="fitheight",x1=X,y1=Y,height=1,heightunit="DATA",anchor="CENTER");
end;
stop;
                                    * Let's "bake" our turkey!;
ods listing image_dpi=300 gpath='/home/ted.conway/';
ods graphics on / reset antialias width=5in height=5in imagename="Turkey2025" imagefmt=svg noborder;
proc sgplot data=turkey aspect=1 noautolegend noborder nowall sganno=images;  * Seasons greetings!;
inset "HAPPY THANKSGIVING!" / textattrs=(size=24pt weight=bold color=black) position=top;
inset "2025" / textattrs=(size=24pt weight=bold color=black) position=bottom;  * "Body" (brpwn ellipse);
ellipseparm semiminor=.7 semimajor=.7 / xorigin=0 yorigin=0 slope=0 fill fillattrs=(color=brown);  * "Head" (brpwn ellipse);
ellipseparm semiminor=.4 semimajor=.4 / xorigin=0 yorigin=.75 slope=0 fill fillattrs=(color=brown);
text x=xnbr y=ynbr text=txtnbr / textattrs=(size=60pt weight=bold color=red); * Player's uniform #;
text x=xnm y=ynm text=txtnm / textattrs=(size=16pt weight=bold color=white); * Player's name;
xaxis display=none values=(-1.7 1.7)  offsetmin=0 offsetmax=0;
yaxis display=none  values=(-1.3 2.1) offsetmin=0 offsetmax=0;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IMAGES USED (SOURCE: MS-WORD ICONS, ESPN.COM)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="footballicon_red.png" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/111602i68B626EE280BF1EE/image-size/small?v=v2&amp;amp;px=200" role="button" title="footballicon_red.png" alt="footballicon_red.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="footballicon_sienna.png" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/111607iD91E9070FB4CD89B/image-size/small?v=v2&amp;amp;px=200" role="button" title="footballicon_sienna.png" alt="footballicon_sienna.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="footballicon_yellow.png" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/111606iDD1826712445CDBF/image-size/small?v=v2&amp;amp;px=200" role="button" title="footballicon_yellow.png" alt="footballicon_yellow.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="footballicon_orange.png" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/111604iBC31A20701723490/image-size/small?v=v2&amp;amp;px=200" role="button" title="footballicon_orange.png" alt="footballicon_orange.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pmahomes3.png" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/111608i0F0CC98A263DF03F/image-size/small?v=v2&amp;amp;px=200" role="button" title="pmahomes3.png" alt="pmahomes3.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 08:53:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-Are-You-Ready-for-Some-Thanksgiving/m-p/979647#M25747</guid>
      <dc:creator>tc</dc:creator>
      <dc:date>2025-11-27T08:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Fun With SAS ODS Graphics: Are You Ready for Some Thanksgiving Football?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-Are-You-Ready-for-Some-Thanksgiving/m-p/979826#M25748</link>
      <description>&lt;P&gt;I'm not as good with the ODS graphics art, but I did celebrate my fandom by creating something useful with my 3D printer. And while they didn't play &lt;STRONG&gt;on&lt;/STRONG&gt; Thanksgiving this year, it was worth the wait until Sunday to watch the game.&lt;/P&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="PXL_20251101_183530433.jpg" style="width: 432px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/111697i4B0E032ADB0A7488/image-dimensions/432x574?v=v2" width="432" height="574" role="button" title="PXL_20251101_183530433.jpg" alt="PXL_20251101_183530433.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 21:26:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-Are-You-Ready-for-Some-Thanksgiving/m-p/979826#M25748</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2025-12-01T21:26:38Z</dc:date>
    </item>
  </channel>
</rss>

