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 Elon Musk just changed Twitter's logo again article in The Verge.
* 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 */
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;
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.