You can use the HSIZE=
and VSIZE= graphics options to change the default size of the graphics
area for the device that you are using. The HSIZE= option sets the
horizontal dimension, while the VSIZE= option sets the vertical dimension.
You can specify the dimension in inches (in), centimeters (cm), or
points (pt). The default unit is inches (in).
Note: For the ODS PRINTER, ODS
PDF, ODS PS, and ODS PCL destinations, the page area (easel) is determined
by the printer's default paper size or by the PAPERSIZE= option.
Here is an example that
creates a 20 centimeter wide by 10 centimeter high GIF image of a
graph.
option gstyle;
ods html close;
ods listing style=statistical;
goptions reset=all device=gif hsize=20cm vsize=10cm;
proc gchart data=sashelp.cars;
vbar Make;
where MPG_Highway >= 37;
run;
quit;
ods listing close;
ods html;