<?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: 2025 Academy Awards Best Picture Nominee Runtimes in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-2025-Academy-Awards-Best-Picture/m-p/960724#M25325</link>
    <description>&lt;P&gt;&lt;STRONG&gt;INPUT (Source: &lt;/STRONG&gt;&lt;A href="https://www.imdb.com/" target="_self"&gt;&lt;STRONG&gt;IMDB)&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tc_0-1741011953804.png" style="width: 318px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105106i2280F6BE74F042DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tc_0-1741011953804.png" alt="tc_0-1741011953804.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Mar 2025 14:28:39 GMT</pubDate>
    <dc:creator>tc</dc:creator>
    <dc:date>2025-03-03T14:28:39Z</dc:date>
    <item>
      <title>Fun With SAS ODS Graphics: 2025 Academy Awards Best Picture Nominee Runtimes</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-2025-Academy-Awards-Best-Picture/m-p/960594#M25321</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Oscars2025.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105058i75300772733E1C35/image-size/large?v=v2&amp;amp;px=999" role="button" title="Oscars2025.png" alt="Oscars2025.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Oscars are Sunday, so here's a SAS ODS Graphics annotated step+text+needle chart of the runtimes of the Best Picture nominees. &lt;EM&gt;The Wrap&lt;/EM&gt; &lt;A href="https://www.thewrap.com/how-long-2025-oscars-best-picture-nominees-runtimes/" target="_self"&gt;did the math&lt;/A&gt; and came up with a total of about 26-and-a-half hours, so there's still time to binge watch 'em all before the show!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* Fun With SAS ODS Graphics: 2025 Academy Awards Best Picture Nominee Runtimes (Runtimes from IMDB)
  Inspired by "Here’s How Long It Takes to Watch All the 2025 Best Picture Nominees"
  https://www.thewrap.com/how-long-2025-oscars-best-picture-nominees-runtimes/;
                                     * Grab 2025 Best Picture Oscar nominee data from Excel (Movie, Length, Image Name);
proc import file='/home/ted.conway/Oscars2025/Oscars2025.xlsx' dbms=xlsx out=movies replace; 

data movies2;                        * Convert hours/minutes to minutes;
set movies;
minutes=sum(scan(compress(length,'hm'),1,' hm')*60,scan(compress(length,'hm'),2,' hm')); 

proc sort data=movies2; by minutes; * Display shortest ==&amp;gt; longest films;

data images;                         * Annotate chart with Best Picture nominee images using SAS-provided macros;                                                     
%SGANNO;                             * Resize all images to same height, but display at a height that matches their runtime (minutes); 
%SGIMAGE (image="/home/ted.conway/Oscars2025/ACompleteUnknown.jpg",border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="A Complete Unknown",y1=141,height=120,heightunit="DATA",anchor="TOP");
%SGIMAGE (image="/home/ted.conway/Oscars2025/Anora.jpg",           border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="Anora",             y1=139,height=120,heightunit="DATA",anchor="TOP");
%SGIMAGE (image="/home/ted.conway/Oscars2025/Conclave.jpg",        border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="Conclave",          y1=120,height=120,heightunit="DATA",anchor="TOP");
%SGIMAGE (image="/home/ted.conway/Oscars2025/DunePartTwo.jpg",     border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="Dune: Part Two",    y1=166,height=120,heightunit="DATA",anchor="TOP");
%SGIMAGE (image="/home/ted.conway/Oscars2025/EmiliaPerez.jpg",     border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="Emilia Pérez",      y1=132,height=120,heightunit="DATA",anchor="TOP");
%SGIMAGE (image="/home/ted.conway/Oscars2025/ImStillHere.jpg",     border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="I'm Still Here",    y1=137,height=120,heightunit="DATA",anchor="TOP");
%SGIMAGE (image="/home/ted.conway/Oscars2025/NickelBoys.jpg",      border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="Nickel Boys",       y1=140,height=120,heightunit="DATA",anchor="TOP");
%SGIMAGE (image="/home/ted.conway/Oscars2025/TheBrutalist.jpg",    border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="The Brutalist",     y1=214,height=120,heightunit="DATA",anchor="TOP");
%SGIMAGE (image="/home/ted.conway/Oscars2025/TheSubstance.jpg",    border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="The Substance",     y1=141,height=120,heightunit="DATA",anchor="TOP");
%SGIMAGE (image="/home/ted.conway/Oscars2025/Wicked.jpg",          border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="Wicked",            y1=160,height=120,heightunit="DATA",anchor="TOP");
                                     * Generate chart of films/lengths (Step+Text+Needle plots);
ods listing image_dpi=300 gpath='/home/ted.conway/Oscars2025'; * Increase resolution to 300 DPI;
ods graphics / reset height=6in width=24in imagefmt=png noborder imagename='Oscars2025';
proc sgplot data=movies2 sganno=images nowall noborder noautolegend ;
styleattrs backcolor=black;
inset "2025 Academy Awards Best Picture Nominee Runtimes" / textattrs=(color=white size=18pt weight=bold) position=topleft;
needle x=movie y=minutes / lineattrs=(thickness=4pt color=white); * Show a drop line from image to baseline ("lollipop" chart);
step x=movie y=minutes / justify=center lineattrs=(color=white thickness=2pt); * Step chart of time for each movie;
text x=movie y=minutes text=length / strip contributeoffsets=none pad=3 textattrs=(size=12pt color=white weight=bold) position=top; * Display time (hours and minutes);
xaxis display=(nolabel noticks noline) valueattrs=(color=white weight=bold size=12pt) offsetmin=.06 offsetmax=.06; * X-axis displays movie names in ascending runtime order;
yaxis display=(nolabel noticks noline) valueattrs=(color=white weight=bold size=12pt) values=(0  60 120 180 225) valuesdisplay=('0' '60' '120' '180' ' '); * Y-axis displays runtimes (minutes);
refline 0 60 120 180 / axis=y lineattrs=(color=grey) label=""; * Display reference lines for each hour; 
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;80% Zoom&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Oscars2025Snippet.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105061i92ADD54D0663FABE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Oscars2025Snippet.png" alt="Oscars2025Snippet.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Mar 2025 08:13:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-2025-Academy-Awards-Best-Picture/m-p/960594#M25321</guid>
      <dc:creator>tc</dc:creator>
      <dc:date>2025-03-01T08:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Fun With SAS ODS Graphics: 2025 Academy Awards Best Picture Nominee Runtimes</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-2025-Academy-Awards-Best-Picture/m-p/960631#M25323</link>
      <description>&lt;P&gt;No time to watch all the nominees? No problem! Clickable images in GitHub-hosted version of SAS ODS Graphics chart will take you to the 2025 Academy Awards Best Picture nominee trailers!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://tedconway.github.io/Misc/oscars2025.html" target="_self"&gt;https://tedconway.github.io/Misc/oscars2025.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://tedconway.github.io/Misc/oscars2025.html" target="_self"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Oscars2025Trailers.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105075iF1394D577FF2DABF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Oscars2025Trailers.png" alt="Oscars2025Trailers.png" /&gt;&lt;/span&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;HTML Version of Chart (clickable images link to YouTube trailers)&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* Fun With SAS ODS Graphics: 2025 Academy Awards Best Picture Nominee Runtimes (Runtimes from IMDB)
  Inspired by "Here’s How Long It Takes to Watch All the 2025 Best Picture Nominees"
  https://www.thewrap.com/how-long-2025-oscars-best-picture-nominees-runtimes/;
                                     * Grab 2025 Best Picture Oscar nominee data from Excel (Movie, Length, Image Name);
proc import file='/home/ted.conway/Oscars2025/Oscars2025.xlsx' dbms=xlsx out=movies replace; 

data movies2;                        * Convert hours/minutes to minutes;
set movies;
minutes=sum(scan(compress(length,'hm'),1,' hm')*60,scan(compress(length,'hm'),2,' hm')); 

proc sort data=movies2; by minutes; * Display shortest ==&amp;gt; longest films;

data images;                         * Annotate chart with Best Picture nominee images (with clickable URLs to movie trailers) using SAS-provided macros;                                                     
%SGANNO;                             * Resize all images to same height, but display at a height that matches their runtime (minutes); 
%SGIMAGE (image="/home/ted.conway/Oscars2025/ACompleteUnknown.jpg",border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="A Complete Unknown",y1=141,height=120,heightunit="DATA",anchor="TOP",URL='https://www.youtube.com/watch?v=FdV-Cs5o8mc');
%SGIMAGE (image="/home/ted.conway/Oscars2025/Anora.jpg",           border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="Anora",             y1=139,height=120,heightunit="DATA",anchor="TOP",URL='https://www.youtube.com/watch?v=8m6UrWMl18M');
%SGIMAGE (image="/home/ted.conway/Oscars2025/Conclave.jpg",        border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="Conclave",          y1=120,height=120,heightunit="DATA",anchor="TOP",URL='https://www.youtube.com/watch?v=JX9jasdi3ic');
%SGIMAGE (image="/home/ted.conway/Oscars2025/DunePartTwo.jpg",     border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="Dune: Part Two",    y1=166,height=120,heightunit="DATA",anchor="TOP",URL='https://www.youtube.com/watch?v=Way9Dexny3w');
%SGIMAGE (image="/home/ted.conway/Oscars2025/EmiliaPerez.jpg",     border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="Emilia Pérez",      y1=132,height=120,heightunit="DATA",anchor="TOP",URL='https://www.youtube.com/watch?v=4h7j_EcZ5fU');
%SGIMAGE (image="/home/ted.conway/Oscars2025/ImStillHere.jpg",     border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="I'm Still Here",    y1=137,height=120,heightunit="DATA",anchor="TOP",URL='https://www.youtube.com/watch?v=gDunV808Yf4');
%SGIMAGE (image="/home/ted.conway/Oscars2025/NickelBoys.jpg",      border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="Nickel Boys",       y1=140,height=120,heightunit="DATA",anchor="TOP",URL='https://www.youtube.com/watch?v=8HZKgYknVN0');
%SGIMAGE (image="/home/ted.conway/Oscars2025/TheBrutalist.jpg",    border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="The Brutalist",     y1=214,height=120,heightunit="DATA",anchor="TOP",URL='https://www.youtube.com/watch?v=GdRXPAHIEW4');
%SGIMAGE (image="/home/ted.conway/Oscars2025/TheSubstance.jpg",    border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="The Substance",     y1=141,height=120,heightunit="DATA",anchor="TOP",URL='https://www.youtube.com/watch?v=LNlrGhBpYjc');
%SGIMAGE (image="/home/ted.conway/Oscars2025/Wicked.jpg",          border="true",linecolor="white",drawspace="datavalue",imagescale="fitheight",xc1="Wicked",            y1=160,height=120,heightunit="DATA",anchor="TOP",URL='https://www.youtube.com/watch?v=6COmYeLsz4c');
                                     * Generate chart of films/lengths (Step+Text+Needle plots);
ods html5 path='/home/ted.conway/Oscars2025' body='oscars2025.html' options(bitmap_mode="inline");
ods graphics / reset imagemap=on height=6in width=24in imagefmt=png noborder imagename='Oscars2025'; * Use SVG format for clicable web page;
proc sgplot data=movies2 sganno=images nowall noborder noautolegend ;
styleattrs backcolor=black;
inset "2025 Academy Awards Best Picture Nominee Runtimes" 
      "Click Image to View Trailer on YouTube" / textattrs=(color=white size=18pt weight=bold) position=topleft;
needle x=movie y=minutes / lineattrs=(thickness=4pt color=white); * Show a drop line from image to baseline ("lollipop" chart);
step x=movie y=minutes / justify=center lineattrs=(color=white thickness=2pt); * Step chart of time for each movie;
text x=movie y=minutes text=length / strip contributeoffsets=none pad=3 textattrs=(size=12pt color=white weight=bold) position=top; * Display time (hours and minutes);
xaxis display=(nolabel noticks noline) valueattrs=(color=white weight=bold size=12pt) offsetmin=.06 offsetmax=.06; * X-axis displays movie names in ascending runtime order;
yaxis display=(nolabel noticks noline) valueattrs=(color=white weight=bold size=12pt) values=(0  60 120 180 225) valuesdisplay=('0' '60' '120' '180' ' '); * Y-axis displays runtimes (minutes);
refline 0 60 120 180 / axis=y lineattrs=(color=grey) label=""; * Display reference lines for each hour; 
run;
ods html5 close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 01 Mar 2025 20:28:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-2025-Academy-Awards-Best-Picture/m-p/960631#M25323</guid>
      <dc:creator>tc</dc:creator>
      <dc:date>2025-03-01T20:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Fun With SAS ODS Graphics: 2025 Academy Awards Best Picture Nominee Runtimes</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-2025-Academy-Awards-Best-Picture/m-p/960724#M25325</link>
      <description>&lt;P&gt;&lt;STRONG&gt;INPUT (Source: &lt;/STRONG&gt;&lt;A href="https://www.imdb.com/" target="_self"&gt;&lt;STRONG&gt;IMDB)&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tc_0-1741011953804.png" style="width: 318px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105106i2280F6BE74F042DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tc_0-1741011953804.png" alt="tc_0-1741011953804.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 14:28:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-2025-Academy-Awards-Best-Picture/m-p/960724#M25325</guid>
      <dc:creator>tc</dc:creator>
      <dc:date>2025-03-03T14:28:39Z</dc:date>
    </item>
  </channel>
</rss>

