Hi there,
I am experimenting with using ods powerpoint, however I am experiencing an issue where the nogtitle option isn't working: the title still appears above the graph I am outputting in addition to at the top of the slide.
(Running SAS 9.4.1)
Any advice would be appreciated 🙂
options nodate nonumber;
ods powerpoint file="test.pptx" nogtitle layout=twocontent;
title1 'title';
proc gplot data=test;
plot y*x / haxis=axis1 vaxis=axis2 autovref;
run;
quit;
proc odslist;
item 'bullet1';
item 'bullet2';
run;
ods powerpoint close
Your code works fo for me.
options nodate nonumber;
ods powerpoint file="%sysfunc(pathname(work))\test.pptx" nogtitle layout=twocontent;
title1 'title';
proc gplot data=sashelp.class;
plot weight*height / autovref;
run;
quit;
proc odslist;
item 'bullet1';
item 'bullet2';
run;
%put &=sysvlong;
ods powerpoint close;
SYSVLONG=9.04.01M2P072314
Thanks for your help, I'll use sgplot in future if I come across the same problem. 🙂
In the mean time, I have been using proc odstext inside an ods layout to create my slide titles, which is more flexible and customisable, so probably a better solution all round.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.