BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,

I would like to properly export graphs and tables under word or pdf.
But when I export to word, I have to manually export the graphs (because of the .gif that is just linked to the file) and when I use pdf I have a graph per page.

May you explain or send me an example of the easest way to combine exports of graphs and tables?

Many thanks,

Ana
3 REPLIES 3
deleted_user
Not applicable
I forget to mention that I use a

'By variable'

statement to create the different graphs.


Here is an example:

ods listing close;
goptions dev=sasprtc /*vsize=*/;
/*ods layout x=1 in y=1 in height= in width= in;*/
ods pdf file='C:\hihi.pdf' startpage=no style=analysis;
title;
title1 "Nb by make for the #byval(sector_G) sector" ;
proc gchart data=hehe
/* startpage=never */ /*where=(var1=))*/;
pie var2 / noheader/*sumvar=*/
other=0
/*midpoints=*/
value=none
percent=arrow
slice=arrow
cfill=cyan
;
by &var3;

run;
quit;
/*ods layout end;*/
ods pdf close;
goptions reset=all;
ods listing;

Thank you very much for your help,
Ana
Cynthia_sas
SAS Super FREQ
Hi:
The two best documents that I have found, cover PDF and RTF separately. They are Tech Support documents and can be found here:

http://support.sas.com/techsup/technote/ts659/ts659.pdf (PDF)
and
http://support.sas.com/techsup/technote/ts674/ts674.html (Office)

If you have specific problems with your code, and these documents don't help, then Tech Support is your best bet, as they have a lot of expertise in this area.

You can contact Tech Support by referring to this site:
http://support.sas.com/techsup/contact/submit_emits2.html

cynthia
deleted_user
Not applicable
Cynthia,

Thank you very much for your help,

Ana

sas-innovate-2024.png

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.

 

Register now!

Discussion stats
  • 3 replies
  • 798 views
  • 0 likes
  • 2 in conversation