The SAS Output Delivery System and reporting techniques

How to plot 2 data set (different kind of graphs) side by side on 1 page

Reply
N/A
Posts: 0

How to plot 2 data set (different kind of graphs) side by side on 1 page

I know SAS can plot multiple graphs on one page, but how to plot 2 different kind of graphs out of 2 data set, side by side on 1 page?

for example, I have "history overlay" and "forecast vs actual" for the same items, and I wanna show 2 report for each item on 1 page.

Is there any gplot option or procedure to complish it easily? Thanks,
SAS Super FREQ
Posts: 8,862

Re: How to plot 2 data set (different kind of graphs) side by side on 1 page

Posted in reply to deleted_user
Hi:
For regular (GPLOT,GCHART) SAS/GRAPH, you can "replay" SAS/GRAPH images (such as a plot and a chart) side by side using the GREPLAY procedure. There are a number of predefined SAS/GRAPH layout templates that you can use for this. For more information about GREPLAY:
http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/greplay-proc-greplay-stateme...
http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/a000234693.htm

If your destination of choice is ODS HTML, you can investigate the HTMLPANEL variation of that destination:
[pre]
ODS TAGSETS.HTMLPANEL ....
[/pre]

which will allow you to design side by side tables, side by side graphs or side by side tables and/or graphs in just about any combination, as described here:
http://support.sas.com/rnd/base/ods/odsmarkup/htmlpanel.html

If you destination of choice is ODS PDF, then you can investigate the use of COLUMNS=2, which sometimes will be sufficient or you can investigate the new ("pre-production") ODS LAYOUT capability.
http://support.sas.com/rnd/base/early-access/index.html (see ODS LAYOUT here)

cynthia
Ask a Question
Discussion stats
  • 1 reply
  • 124 views
  • 0 likes
  • 2 in conversation