BookmarkSubscribeRSS Feed
_LB
Fluorite | Level 6 _LB
Fluorite | Level 6
Hello all;
I am trying to accomplish two things:
create a table with an underlying (line) graph that accompanies the table to output to PDF through PROC Report. However, the graph & table come from different sources.

Currently, this works except that the graph prints to another page, and way too big. I have attempted to solve this by ysuing the ODS graphics on/width= height= but this has no effect.

So essentially I have my proc report statements:

ODS LISTING CLOSE;
...
Proc Report data=x;
...
endcomp

symbol1 v=dot i=join;
proc gplot data=BASIC_OUTPUT;

where UNIT='y' and date>monthyear;
plot crbsi_rate*moi;
run;
quit;


Second question is that when the graph prints, it does not adhere to the ODS escape character and so the graphic does not print accordingly.

Thank you again for your help...
Lawrence
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
I haven't had a chance to look at this in any detail, however, ODS ESCAPECHAR functionality is not supported by SAS/Graph procedures.
http://support.sas.com/forums/thread.jspa?messageID=5390ᔎ

Otherwise, generally with ODS PDF startpage=never will allow a table and graph to co-exist on a page in a PDF file. Although you may need some techniques to size (XPIXEL and YPIXEL) and position (HORIGIN and VORIGIN) the graph output on the page as described in this Tech Support paper:
PDF: http://support.sas.com/techsup/technote/ts659/ts659.pdf

If you are still having issues with your code, you may want to contact Tech Support, where they can look at ALL your code to see what's happening and can help you fix it.

cynthia

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!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 591 views
  • 0 likes
  • 2 in conversation