<?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: Pony Bead Flag Fourth of July Craft Project in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-Pony-Bead-Flag-Fourth-of-July-Craft/m-p/970185#M25597</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PonyBeadJuly4thFlag.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/108145i57428AB3BAA9CC6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="PonyBeadJuly4thFlag.png" alt="PonyBeadJuly4thFlag.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A quick SAS ODS Graphics take on a clever &lt;A href="https://iheartcraftythings.com/pony-bead-flag-craft.html" target="_self"&gt;pony bead flag craft project&lt;/A&gt;. Have a great 4th, 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: Pony Bead 4th of July Flag Craft Project
  Inspired by iheartcraftythings.com/pony-bead-flag-craft.html;
  
data flag;                                          * Generate points for red/white/blue 'beads' &amp;amp; white stars;
do y=1 to 14;                                       * 14 rows of beads; 
  do x=1 to 19;                                     * 19 beads per row;
    if y&amp;gt;=7 and x&amp;lt;=9 then color=1;                  * Blue beads for 'canton';
    else if y in (1,2,5,6,9,10,13,14) then color=2; * Red beads for stripes;
    else color=3;                                   * White beads for stripes;
    output;
  end; 
end;
x=.;y=.;
do y2=7.75 to 13.5 by (13.5-7.75)/3;                * 4 rows of stars, distribute evenly;
  do x2=1.75 to 8.25 by (8.25-1.75)/3;              * 4 columns of stars, distribute evenly; 
    output; 
  end; 
end;
                                                    * Make a flag using ellipse and scatter plots;
ods graphics / antialias height=7in width=9.5in imagefmt=svg noborder; * Make height/width proportional to rows/columns;
proc sgplot data=flag noborder noautolegend pad=0 nowall;
styleattrs backcolor=cx3C3B6E datacolors=(red white blue); * Navy-ish blue background;
symbolchar name=uniStar char='2605'x;               * Unicode value for 5-point star;
ellipseparm semimajor=.48 semiminor=.48 / fill xorigin=x yorigin=y group=color nomissinggroup; * Red/white/blue 'beads';
scatter x=x y=y / markerattrs=(color=cx3C3B6E symbol=circlefilled size=15pt); * 'Holes' in center of 'beads';
scatter x=x2 y=y2 / markerattrs=(symbol=uniStar color=white size=96pt); * White stars;
xaxis display=none values=(.5 to 19.5) offsetmin=0 offsetmax=0; * Suppress axes and minimize padding around markers;
yaxis display=none values=(.5 to 14.5) offsetmin=0 offsetmax=0;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 03 Jul 2025 08:14:43 GMT</pubDate>
    <dc:creator>tc</dc:creator>
    <dc:date>2025-07-03T08:14:43Z</dc:date>
    <item>
      <title>Fun With SAS ODS Graphics: Pony Bead Flag Fourth of July Craft Project</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-Pony-Bead-Flag-Fourth-of-July-Craft/m-p/970185#M25597</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PonyBeadJuly4thFlag.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/108145i57428AB3BAA9CC6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="PonyBeadJuly4thFlag.png" alt="PonyBeadJuly4thFlag.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A quick SAS ODS Graphics take on a clever &lt;A href="https://iheartcraftythings.com/pony-bead-flag-craft.html" target="_self"&gt;pony bead flag craft project&lt;/A&gt;. Have a great 4th, 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: Pony Bead 4th of July Flag Craft Project
  Inspired by iheartcraftythings.com/pony-bead-flag-craft.html;
  
data flag;                                          * Generate points for red/white/blue 'beads' &amp;amp; white stars;
do y=1 to 14;                                       * 14 rows of beads; 
  do x=1 to 19;                                     * 19 beads per row;
    if y&amp;gt;=7 and x&amp;lt;=9 then color=1;                  * Blue beads for 'canton';
    else if y in (1,2,5,6,9,10,13,14) then color=2; * Red beads for stripes;
    else color=3;                                   * White beads for stripes;
    output;
  end; 
end;
x=.;y=.;
do y2=7.75 to 13.5 by (13.5-7.75)/3;                * 4 rows of stars, distribute evenly;
  do x2=1.75 to 8.25 by (8.25-1.75)/3;              * 4 columns of stars, distribute evenly; 
    output; 
  end; 
end;
                                                    * Make a flag using ellipse and scatter plots;
ods graphics / antialias height=7in width=9.5in imagefmt=svg noborder; * Make height/width proportional to rows/columns;
proc sgplot data=flag noborder noautolegend pad=0 nowall;
styleattrs backcolor=cx3C3B6E datacolors=(red white blue); * Navy-ish blue background;
symbolchar name=uniStar char='2605'x;               * Unicode value for 5-point star;
ellipseparm semimajor=.48 semiminor=.48 / fill xorigin=x yorigin=y group=color nomissinggroup; * Red/white/blue 'beads';
scatter x=x y=y / markerattrs=(color=cx3C3B6E symbol=circlefilled size=15pt); * 'Holes' in center of 'beads';
scatter x=x2 y=y2 / markerattrs=(symbol=uniStar color=white size=96pt); * White stars;
xaxis display=none values=(.5 to 19.5) offsetmin=0 offsetmax=0; * Suppress axes and minimize padding around markers;
yaxis display=none values=(.5 to 14.5) offsetmin=0 offsetmax=0;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Jul 2025 08:14:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-Pony-Bead-Flag-Fourth-of-July-Craft/m-p/970185#M25597</guid>
      <dc:creator>tc</dc:creator>
      <dc:date>2025-07-03T08:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Fun With SAS ODS Graphics: Pony Bead Flag Fourth of July Craft Project</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-Pony-Bead-Flag-Fourth-of-July-Craft/m-p/970186#M25598</link>
      <description>tc,&lt;BR /&gt;Long time no see!</description>
      <pubDate>Thu, 03 Jul 2025 09:29:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-Pony-Bead-Flag-Fourth-of-July-Craft/m-p/970186#M25598</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-07-03T09:29:40Z</dc:date>
    </item>
  </channel>
</rss>

