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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.