SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Enhancing and Exporting Charts and Plots
Sizing Graphs


When you create charts and plots, you may want to specify the size of the overall graph and even add a border around the graph. To do so, you specify options for controlling the height, width, and border in the GOPTIONS statement.


Sizing the Graph

The way you create the graph determines how you size it:

  • If you create your graph in the GRAPH window, use the HSIZE= and VSIZE= options.

  • If you export your graphs directly to external files using program statements, use the XPIXELS= and YPIXELS= options.

Dimensions for graphs


Let's see how the two pairs of options work


back||next


Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement