07-19-2011 06:15 AM
I'm trying to put in one page report table and few graphs, for this moment I've tried this example (it's seems to be rather simple), but the result differs from what it's supposed to be(
(in SAS Enterprise Guide, PDF-results)
input x y @@;
1 2 2 4 3 8 4 10 5 15
ods layout start width=8.3in height=11.7in;
ods region x=0.5in y=1.7in height=2.3in width=3.5in;
proc gplot data=test;
title2 'PLOT #1';
plot y*x /name="gr_1" noframe;
ods region x=4.25in y=1.7in height=2.3in width=3.5in;
title2 'PLOT #2';
plot y*x /name="gr_2" noframe;
ods layout end;
it shows 2 pages instead of 1, first with 'Start'-title, second with 2 graphs (and one graph is higher than another). Why is that?
I guess it's obvious but I haven't found any confirmation yet: is legend facility used only with stacked bar charts? What if I used Bar chart wizard (in SAS EG) and choose Vertical Colored Bar, is there any way to make legend (in code copy) to specify compliance between color and bar-value?
07-19-2011 08:10 AM
This forum is for asking and answering questions about how to get started using Communities on SAS. There is a separate forum dedicated entirely to Enterprise Guide. Your question might get more responses there.