<?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 Re: Fun With SAS ODS Graphics: Para-boo!-la Halloween Card in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-Para-boo-la-Halloween-Card/m-p/777168#M22206</link>
    <description>Very Impressive, JD!</description>
    <pubDate>Fri, 29 Oct 2021 05:18:22 GMT</pubDate>
    <dc:creator>whymath</dc:creator>
    <dc:date>2021-10-29T05:18:22Z</dc:date>
    <item>
      <title>Fun With SAS ODS Graphics: Para-boo!-la Halloween Card</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-Para-boo-la-Halloween-Card/m-p/777156#M22202</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS ODS Graphics" style="width: 300px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65169i29B01631B0E6E4C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paraboola.png" alt="SAS ODS Graphics" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SAS ODS Graphics&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Craft Project (Source: itsmejd.com)" style="width: 354px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65176iBDE5BF77034296AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="boo2.png" alt="Craft Project (Source: itsmejd.com)" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Craft Project (Source: itsmejd.com)&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With the Halloween weekend upon us, here's a SAS ODS Graphics Polygon + Bubble + Text + Lineparm + Ellipseparm plot take on a &lt;A href="https://itsmejd.com/easy-diy-halloween-cards-make-minimal-supplies/" target="_self"&gt;DIY Halloween Card craft project&lt;/A&gt; from the &lt;A href="https://itsmejd.com" target="_self"&gt;it's me,JD&lt;/A&gt; blog (parabola math refresher &lt;A href="https://www.cuemath.com/geometry/parabola/" target="_self"&gt;here&lt;/A&gt;). Happy Halloween, 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: Para-boo!-la Halloween Card
   SAS ODS Graphics take on craft project at itsmejd.com/easy-diy-halloween-cards-make-minimal-supplies/;
  
data paraBOOla;                                                      * Generate x-y point coordinates, text for charts;
retain id 1;                                                         * Polygons require ID #;
/*Polygon*/ do x=-3.3 to 3.3 by .1; y=x**2/-4*2.5+1.95; output; end; * Parabola formula used to draw top of 'ghost';
            y=-6; output; x=-3.3; output;                            * Close off polygon with rectangular bottom of 'ghost';
/*Eyes   */ x=.; x2=-0.75; y=-.25; size=.35; output; x2=.75; output; * Eyes of 'ghost';
/*Text1  */ x2=.; x3=0; y=-3.5; txt='boo!              '; output;    * Add some text to card;  
/*Text2  */ x3=.; x4=2.9; y=-4.75; txt='HAPPY HALLOWEEN'; output;
/*Circles*/ x4=.; r=.6; do x5=-2.5 to 2.5 by 1; output; end;         * Circles (r=radius) used to draw bottom of 'ghost';

ods graphics / reset width=6in height=8in antialias ; 
proc sgplot data=paraBOOla nowall pad=0 noautolegend subpixel;       * Let's make a Halloween card!;
styleattrs backcolor=cxFE9A0A;                                       * 'Halloween orange';
polygon x=x y=y id=id / fillattrs=(color=white) fill lineattrs=(color=white); * Parabola 'ghost'; 
bubble x=x2 y=y size=size / fillattrs=(color=black) dataskin=matte bradiusmin=.5 bradiusmax=.5 absscale; * Eyes (bubbles w/radius=.5);
text x=x3 y=y text=txt / backlight=1 textattrs=(color=white weight=bold size=90pt) contributeoffsets=none; * Boo! with backlight effect;
text x=x4 y=y text=txt / textattrs=(color=black weight=bold size=21pt) position=left contributeoffsets=none; * Happy Halloween;
lineparm x=-3.1 y=-5 slope=0 / lineattrs=(color=black thickness=3pt) clip; * Line separator;                  
ellipseparm semimajor=r semiminor=r / xorigin=x5 yorigin=-6.2 clip fillattrs=(color=cxFE9A0A) fill; * Circles at bottom of 'ghost' (cheesy drape effect!);
xaxis display=none values=(-3 3) offsetmin=0 offsetmax=0 thresholdmin=0 thresholdmax=0; * Limit x range to 'crop' ghost at sides;
yaxis display=none values=(-6 2.2) offsetmax=0;                      * Limit y-range;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Para-boo!-la: First Draft" style="width: 300px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65170i15F0D10721CDD6B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paraboolalines.png" alt="Para-boo!-la: First Draft" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Para-boo!-la: First Draft&lt;/span&gt;&lt;/span&gt;&lt;/P&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>Fri, 29 Oct 2021 02:42:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-Para-boo-la-Halloween-Card/m-p/777156#M22202</guid>
      <dc:creator>tc</dc:creator>
      <dc:date>2021-10-29T02:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Fun With SAS ODS Graphics: Para-boo!-la Halloween Card</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-Para-boo-la-Halloween-Card/m-p/777168#M22206</link>
      <description>Very Impressive, JD!</description>
      <pubDate>Fri, 29 Oct 2021 05:18:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-Para-boo-la-Halloween-Card/m-p/777168#M22206</guid>
      <dc:creator>whymath</dc:creator>
      <dc:date>2021-10-29T05:18:22Z</dc:date>
    </item>
  </channel>
</rss>

