Data visualization with SAS programming

How to display two GPLOT's side by side

Reply
Occasional Contributor
Posts: 7

How to display two GPLOT's side by side

     Hi Friends,

I generated two GPLOT's. the problem is they are displayed one after another with a page break. Is there any way for me to get them displayed side by side. Is there any way to display more than one GPLOT in a single page.

Thanks,

Santhosh

SAS Employee
Posts: 967

Re: How to display two GPLOT's side by side

There are several different ways to do this, depending on how you want to view it, etc...

For example, if you're using a web browser to view the output, and all you need is simple tiled output (no graphs of different/odd shapes, or overlapping other graphs, etc) you could use "ods htmlpanel" such as the following:

   http://robslink.com/SAS/democd_mpg/gas_class_2014.htm

If you need the output to be viewable by other than a web browser (such as a pdf, etc), then you'd probably need to go with "proc greplay" - here's an example using that technique:

   http://robslink.com/SAS/democd18/royal.htm

SAS Super FREQ
Posts: 1,081

Re: How to display two GPLOT's side by side

You can also use the ODS LAYOUT and ODS REGION statements to set up your graphs side by side.

Ask a Question
Discussion stats
  • 2 replies
  • 767 views
  • 0 likes
  • 3 in conversation