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.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.