<?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: 3-Polygon Elon Musk Twitter X Logo in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-3-Polygon-Elon-Musk-Twitter-X-Logo/m-p/887043#M24023</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SasOdsGraphicsTwitterX.png" style="width: 595px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86252iBE1DC50F3D39E8FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="SasOdsGraphicsTwitterX.png" alt="SasOdsGraphicsTwitterX.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS ODS Graphics code to generate the new Twitter X logo. Used Microsoft Paint to grab the x/y vertex points for the polygons from image accompanying &lt;A href="https://www.theverge.com/2023/7/25/23807418/twitter-x-logo-design-change-elon-musk" target="_self"&gt;Elon Musk just changed Twitter's logo again&lt;/A&gt; article in The Verge.&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: 3-Polygon Twitter X Logo;

data twitterXlogo;                   /* Generate 4 pairs of x,y points for 3 polygons */ 
infile datalines dlm=', ';           /* 1 = White line lower left to upper right */ 
input x y@@;                         /* 2 = White outline lower right to upper left */ 
id=floor((_n_-1)/4)+1;               /* 3 = Blue fill line lower right to upper left */ 
datalines;                           
0,0 540,620 590,620 50,0
435,0 0,620 185,620 620,0
460,35 70,585 160,585 550,35
;                                    /* Plot polygons against Twitter blue background */
ods graphics / reset antialias border=off width=6.2in height=6.2in;
proc sgplot aspect=1 pad=0 nowall noborder noautolegend;
styleattrs backcolor=cX1DA1F2 datacolors=(white white cX1DA1F2);
polygon x=x y=y id=id / group=id nooutline fill;
xaxis display=none offsetmin=.1 offsetmax=.1; 
yaxis display=none offsetmin=.1 offsetmax=.1; 
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;USING PAINT TO GRAB POLYGON VERTEX POINTS&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaintTwitterX.jpg" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86253i485E1A5371D5C264/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaintTwitterX.jpg" alt="PaintTwitterX.jpg" /&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 30 Jul 2023 22:27:49 GMT</pubDate>
    <dc:creator>tc</dc:creator>
    <dc:date>2023-07-30T22:27:49Z</dc:date>
    <item>
      <title>Fun With SAS ODS Graphics: 3-Polygon Elon Musk Twitter X Logo</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-3-Polygon-Elon-Musk-Twitter-X-Logo/m-p/887043#M24023</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SasOdsGraphicsTwitterX.png" style="width: 595px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86252iBE1DC50F3D39E8FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="SasOdsGraphicsTwitterX.png" alt="SasOdsGraphicsTwitterX.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS ODS Graphics code to generate the new Twitter X logo. Used Microsoft Paint to grab the x/y vertex points for the polygons from image accompanying &lt;A href="https://www.theverge.com/2023/7/25/23807418/twitter-x-logo-design-change-elon-musk" target="_self"&gt;Elon Musk just changed Twitter's logo again&lt;/A&gt; article in The Verge.&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: 3-Polygon Twitter X Logo;

data twitterXlogo;                   /* Generate 4 pairs of x,y points for 3 polygons */ 
infile datalines dlm=', ';           /* 1 = White line lower left to upper right */ 
input x y@@;                         /* 2 = White outline lower right to upper left */ 
id=floor((_n_-1)/4)+1;               /* 3 = Blue fill line lower right to upper left */ 
datalines;                           
0,0 540,620 590,620 50,0
435,0 0,620 185,620 620,0
460,35 70,585 160,585 550,35
;                                    /* Plot polygons against Twitter blue background */
ods graphics / reset antialias border=off width=6.2in height=6.2in;
proc sgplot aspect=1 pad=0 nowall noborder noautolegend;
styleattrs backcolor=cX1DA1F2 datacolors=(white white cX1DA1F2);
polygon x=x y=y id=id / group=id nooutline fill;
xaxis display=none offsetmin=.1 offsetmax=.1; 
yaxis display=none offsetmin=.1 offsetmax=.1; 
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;USING PAINT TO GRAB POLYGON VERTEX POINTS&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaintTwitterX.jpg" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86253i485E1A5371D5C264/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaintTwitterX.jpg" alt="PaintTwitterX.jpg" /&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jul 2023 22:27:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-3-Polygon-Elon-Musk-Twitter-X-Logo/m-p/887043#M24023</guid>
      <dc:creator>tc</dc:creator>
      <dc:date>2023-07-30T22:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Fun With SAS ODS Graphics: 3-Polygon Elon Musk Twitter X Logo</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-3-Polygon-Elon-Musk-Twitter-X-Logo/m-p/887086#M24024</link>
      <description>&lt;P&gt;Cool take on this! Now can you make it &lt;A href="https://twitter.com/bett_yu/status/1685467311569010688?s=20" target="_self"&gt;flash at a bazillion lumens like the real thing&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 12:45:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-3-Polygon-Elon-Musk-Twitter-X-Logo/m-p/887086#M24024</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2023-07-31T12:45:14Z</dc:date>
    </item>
  </channel>
</rss>

