BookmarkSubscribeRSS Feed
deleted_user
Not applicable
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,
1 REPLY 1
Cynthia_sas
SAS Super FREQ
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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 688 views
  • 0 likes
  • 2 in conversation