
* SAS ODS Graphics: Memorial Day 2026
SPLINE plot of outline points extracted by ChatGPT from a Google search image (stock.adobe.com/search?k=soldier+silhouette+salute&asset_id=219425596)
PROMPT: can you generate a csv file with the x/y coordinates of an outline of the soldier saluting in an image
CHATGPT: Please upload the image of the soldier saluting that you want traced. Once you upload it, I can extract the outline and generate a CSV file containing the x/y coordinates.
CHATGPT: The outline coordinates have been extracted and saved as a CSV file.;
* Get x/y points of soldier outline from ChatGPT-generated .csv file;
proc import datafile='~/soldier_salute_outline_coordinates.csv' out=soldier replace;
* Use SPLINE to plot a smooth outline (white on black background);
ods graphics / reset height=5in width=5in antialias imagefmt=svg noborder;
proc sgplot data=soldier nowall pad=0 noautolegend;
styleattrs backcolor=black;
inset 'MEMORIAL DAY 2026' / position=bottom textattrs=(color=white size=24pt);
spline x=x y=y / lineattrs=(thickness=4pt color=white);
xaxis display=none values=(0 1000);
yaxis display=none values=(0 1000) reverse;
run;
INPUT DATA (X/Y TRACE POINTS CREATED BY CHATGPT)
