<?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:  Tai Chi Graph in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Tai-Chi-Graph/m-p/760670#M21829</link>
    <description>&lt;P&gt;Nice graph!&lt;/P&gt;</description>
    <pubDate>Tue, 10 Aug 2021 14:33:33 GMT</pubDate>
    <dc:creator>djrisks</dc:creator>
    <dc:date>2021-08-10T14:33:33Z</dc:date>
    <item>
      <title>Fun with SAS ODS Graphics:  Tai Chi Graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Tai-Chi-Graph/m-p/760600#M21826</link>
      <description>&lt;P&gt;It is a special Chinese picture . Have fun.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
pi=constant('pi');

/*plot the left white part*/
id=1;
do i=0.5*pi to 1.5*pi by 0.01;
  x=cos(i);y=sin(i);output;
end;
do i=1.5*pi to 0.5*pi  by -0.01;
  x=0.5*cos(i);y=0.5*sin(i)-0.5;output;
end;
do i=-0.5*pi to 0.5*pi  by 0.01;
  x=0.5*cos(i);y=0.5*sin(i)+0.5;output;
end;

/*plot the right dark part*/
id=2;
do i=0.5*pi to -0.5*pi by -0.01;
  x=cos(i);y=sin(i);output;
end;
do i=1.5*pi to 0.5*pi  by -0.01;
  x=0.5*cos(i);y=0.5*sin(i)-0.5;output;
end;
do i=-0.5*pi to 0.5*pi  by 0.01;
  x=0.5*cos(i);y=0.5*sin(i)+0.5;output;
end;


/*plot the  big circle with dark border*/
id=3;
do i=0 to 2*pi by 0.01;
  x1=cos(i);y1=sin(i);output;
end;


/*plot the bottom little white pie*/
id=4;
do i=0 to 2*pi  by 0.01;
  x2=0.15*cos(i);y2=0.15*sin(i)-0.5;output;
end;

/*plot the top little black pie*/
id=5;
do i=0 to 2*pi  by 0.01;
  x3=0.15*cos(i);y3=0.15*sin(i)+0.5;output;
end;
run;

title ;
proc sgplot data=have aspect=1 noautolegend noborder;
styleattrs datacolors=(white black);
polygon x=x y=y id=id/group=id fill   ; /*plot the left and right part*/
polygon x=x2 y=y2 id=id/ fill fillattrs=(color=white)  ; /*plot the bottom little white pie*/
polygon x=x3 y=y3 id=id/ fill fillattrs=(color=black)  ; /*plot the top little black pie*/
series x=x1 y=y1/lineattrs=(color=black thickness=2); /*plot the  big circle with dark border*/
xaxis display=none;
yaxis display=none;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp.png" style="width: 640px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62447i7F14D25BA9464890/image-size/large?v=v2&amp;amp;px=999" role="button" title="Ksharp.png" alt="Ksharp.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 13:38:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Tai-Chi-Graph/m-p/760600#M21826</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-08-10T13:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Fun with SAS ODS Graphics:  Tai Chi Graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Tai-Chi-Graph/m-p/760643#M21827</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp; Very nice. Requesting you to please add some /*comments*/ in the code to help anybody understand. Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 13:30:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Tai-Chi-Graph/m-p/760643#M21827</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2021-08-10T13:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fun with SAS ODS Graphics:  Tai Chi Graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Tai-Chi-Graph/m-p/760651#M21828</link>
      <description>OK. as your wish. Add some comment.</description>
      <pubDate>Tue, 10 Aug 2021 13:38:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Tai-Chi-Graph/m-p/760651#M21828</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-08-10T13:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Fun with SAS ODS Graphics:  Tai Chi Graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Tai-Chi-Graph/m-p/760670#M21829</link>
      <description>&lt;P&gt;Nice graph!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 14:33:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Tai-Chi-Graph/m-p/760670#M21829</guid>
      <dc:creator>djrisks</dc:creator>
      <dc:date>2021-08-10T14:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Fun with SAS ODS Graphics:  Tai Chi Graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Tai-Chi-Graph/m-p/760714#M21830</link>
      <description>&lt;P&gt;Thank you so much!!!!!!!!!!!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 17:52:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Tai-Chi-Graph/m-p/760714#M21830</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2021-08-10T17:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Fun with SAS ODS Graphics:  Tai Chi Graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Tai-Chi-Graph/m-p/771384#M22055</link>
      <description>It is named "Tai Ji" in Chinese</description>
      <pubDate>Thu, 30 Sep 2021 14:25:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Tai-Chi-Graph/m-p/771384#M22055</guid>
      <dc:creator>phoenix_lx</dc:creator>
      <dc:date>2021-09-30T14:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Fun with SAS ODS Graphics:  Tai Chi Graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Tai-Chi-Graph/m-p/771416#M22057</link>
      <description>&lt;P&gt;Very nice and fun!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 16:29:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Tai-Chi-Graph/m-p/771416#M22057</guid>
      <dc:creator>Xin</dc:creator>
      <dc:date>2021-09-30T16:29:38Z</dc:date>
    </item>
  </channel>
</rss>

