-
Copy the program below and paste it into the Program Editor window (or issue the command
copy sashelp.oltutor..source ). Then
submit the program and view the graph.
goptions reset=goptions;
proc gchart data=flights.europe; hbar dest / sumvar=revenue; run;
quit;
-
Recall the program and add graphics options to specify a width of 3.5 inches,
a height of 3.5 inches, and a border for the graph.
-
Submit the program and view the graph, scrolling forward in the GRAPH window
if necessary.
-
Recall the program and revise it to
-
assign the fileref Mygif to a file named
Testgif.gif in your default storage location
-
specify Mygif as the output destination for your graph
-
specify GIF as the device driver for your graph
-
size the graph 300 pixels high and 400 pixels wide.
-
Submit the program and view log messages to verify that
Testgif.gif was created.
Return here and select Next.
|
|