09-27-2012 04:41 AM
When I produce 2 graphs in SAS EG (4.1) in the default HTML viewer, the graphs appear on 2 pages. When I print a hard copy of the output that is also on 2 pages. Is there an option to get both the graphs on the same page?
I do not intend to use pdf or rtf output.
09-27-2012 10:39 AM
Yes. You can switch to using SAS Report instead of HTML. SAS Report is available in SAS 9.1 and EG 4.1 - it's the default format for EG 4.2 and later.
Then you can use File->New->Report to combine your two graphs into a single output report, which is suitable for printing.
Here's are some blog posts with examples:
09-28-2012 06:59 AM
I need to somehow give the options programmatically (instead of the File->New->Report step) as I want to output a number of reports iteratively.
Could this be done without using ODS or would it be better to use ODS HTML?
09-28-2012 09:25 AM
In SAS 9.1/EG 4.1, you can use ODS HTMLPANEL to achieve this. See my example here:
ODS LAYOUT is another option, but I think that you really need at least SAS 9.2 for this to work reliably.