Hi,
I have made top margin = 0 in in option statement. I still got a lot of space on the top, which I would like to use. Kindly explain me what is the option to reclaim the top space.
I have posted my code. Just have to change pdf file location.
Thanks,
Amit
options nodate nonumber orientation=landscape;
ods listing;
data data1;
input country $ metric1 pene;
datalines;
CAN 161 55
AUS 679 74
NZL 97 70
UK 272 57
MEX 479 49
JPN 844 97
ITA 298 58
;
run;
ods listing close;
goptions reset=all device=pdfc ftext="swissb";
options leftmargin="0 in" topmargin="0 in" rightmargin="0 in";
ods pdf file='C:\Documents and Settings\Desktop\report.pdf'
notoc ;
ods pdf StartPage=Never;
ods escapechar='~';
title;
footnote;
ODS layout start;
ODS region x=4 in y=0.5 in height = 0.5 in width = 10 in;
ODS pdf text =" CUSTOME~mR METRICS OVERVIEW
~-2n Markets ~-2nOctober 2008";
ODS region x=0 in y=1 in height = 2 in width = 2.75 in;
goptions htext=18pt ctext=black;
goptions cback=white;
axis1 label=none minor=(n=3)order=(0 to 1000 by 200);
axis2 label=none order=(0 to 100 by 20) minor=(n=1);
pattern1 v=solid color=cx17588A;
*pattern1 v=solid color=cx006699;
symbol1 v=dot i=join c=blue h=1;
title1 "metric1 (000's) / PENETRATION (%)";
proc gbarline data=data1;
bar country / axis=axis1
sumvar=metric1
midpoints="CAN" "AUS" "NZL" "UK" "MEX" "JPN" "ITA"
discrete width=7.5
;
plot / sumvar=pene axis=axis2;
run;
quit;
ODS region x=2.5 in y=1 in height = 2 in width = 2.75 in;
title1 "metric1 (000's) / PENETRATION (%)";
proc gbarline data=data1;
bar country / axis=axis1
sumvar=metric1
midpoints="CAN" "AUS" "NZL" "UK" "MEX" "JPN" "ITA"
discrete width=7.5
;
plot / sumvar=pene axis=axis2;
run;
quit;
ODS region x=5 in y=1 in height = 2 in width = 2.75 in;
title1 "metric1 (000's) / PENETRATION (%)";
proc gbarline data=data1;
bar country / axis=axis1
sumvar=metric1
midpoints="CAN" "AUS" "NZL" "UK" "MEX" "JPN" "ITA"
discrete width=7.5
;
plot / sumvar=pene axis=axis2;
run;
quit;
ODS region x=7.5 in y=1 in height = 2 in width = 2.75 in;
title1 "metric1 (000's) / PENETRATION (%)";
proc gbarline data=data1;
bar country / axis=axis1
sumvar=metric1
midpoints="CAN" "AUS" "NZL" "UK" "MEX" "JPN" "ITA"
discrete width=7.5
;
plot / sumvar=pene axis=axis2;
run;
quit;
ODS region x=0 in y=3.5in height = 2 in width = 2.75 in;
title1 "metric1 (000's) / PENETRATION (%)";
proc gbarline data=data1;
bar country / axis=axis1
sumvar=metric1
midpoints="CAN" "AUS" "NZL" "UK" "MEX" "JPN" "ITA"
discrete width=7.5
;
plot / sumvar=pene axis=axis2;
run;
quit;
ODS region x=2.5 in y=3.5 in height = 2 in width = 2.75 in;
title1 " metric1 (000's) / PENETRATION (%)";
proc gbarline data=data1;
bar country / axis=axis1
sumvar=metric1
midpoints="CAN" "AUS" "NZL" "UK" "MEX" "JPN" "ITA"
discrete width=7.5
;
plot / sumvar=pene axis=axis2;
run;
quit;
ODS region x=5 in y=3.5 in height = 2 in width = 2.75 in;
title1 " metric1 (000's) / PENETRATION (%)";
proc gbarline data=data1;
bar country / axis=axis1
sumvar=metric1
midpoints="CAN" "AUS" "NZL" "UK" "MEX" "JPN" "ITA"
discrete width=7.5
;
plot / sumvar=pene axis=axis2;
run;
quit;
ODS region x=7.5 in y=3.5 in height = 2 in width = 2.75 in;
title1 " metric1 (000's) / PENETRATION (%)";
proc gbarline data=data1;
bar country / axis=axis1
sumvar=metric1
midpoints="CAN" "AUS" "NZL" "UK" "MEX" "JPN" "ITA"
discrete width=7.5
;
plot / sumvar=pene axis=axis2;
run;
quit;
ODS region x=0 in y=6 in height = 2 in width = 2.75 in;
title1 " metric1 (000's) / PENETRATION (%)";
proc gbarline data=data1;
bar country / axis=axis1
sumvar=metric1
midpoints="CAN" "AUS" "NZL" "UK" "MEX" "JPN" "ITA"
discrete width=7.5
;
plot / sumvar=pene axis=axis2;
run;
quit;
ODS region x=2.5 in y=6 in height = 2 in width = 2.75 in;
title1 " metric1 (000's) / PENETRATION (%)";
proc gbarline data=data1;
bar country / axis=axis1
sumvar=metric1
midpoints="CAN" "AUS" "NZL" "UK" "MEX" "JPN" "ITA"
discrete width=7.5
;
plot / sumvar=pene axis=axis2;
run;
quit;
ODS region x=5 in y=6 in height = 2 in width = 2.75 in;
title1 " metric1 (000's) / PENETRATION (%)";
proc gbarline data=data1;
bar country / axis=axis1
sumvar=metric1
midpoints="CAN" "AUS" "NZL" "UK" "MEX" "JPN" "ITA"
discrete width=7.5
;
plot / sumvar=pene axis=axis2;
run;
quit;
ODS region x=7.5 in y=6 in height = 2 in width = 2.75 in;
title1 " metric1 (000's) / PENETRATION (%)";
proc gbarline data=data1;
bar country / axis=axis1
sumvar=metric1
midpoints="CAN" "AUS" "NZL" "UK" "MEX" "JPN" "ITA"
discrete width=7.5
;
plot / sumvar=pene axis=axis2;
run;
quit;
ods layout end;
ods pdf StartPage=now;
ods pdf close;
ods listing;