










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The sas device driver, its role in determining graphic output settings, and how users can override these settings using goptions statements in sas/graph procedures. It covers device parameters, resolution, graphics output area size, and user customization options.
Typology: Study notes
1 / 18
This page cannot be seen from the preview
Don't miss anything!











Graphic Output Area
vsize=8.5 in
6
?
^ hsize=7.5 in^ -
^ xmax=10.0 in^ -
ymax=11.0 in
6
?
(^) Graphics Output Area
Placement of Graphic Elements
(^) Graphics Output Area
(^) Output of SAS/GRAPH p
^
Titles appear here (by default)
A A
AKA Footnotes appear here (by default)
PROC GPLOT < data=> < gout=> < annotate=>
PLOT plot-request(s) ... /
PLOT statement options:
vaxis=value-list vminor=n haxis=value-list hminor=n vm=n hm=n vaxis=axis-definition haxis=axis-definition overlay nolegend noaxes legend=legend-definition areas=n frame cframe=colorcaxis=color ctext=color fr cfr=color ca=color ct=color annotate=data-set-name anno=data-set-name href=value-list chref=color lhref=line-type ch=color lh=line-type vref=value-list cvref=color lvref=line-type cv=color lv=line-type
TITLEn
color= specify color for the text string that follows; red, c= blue, green, black, violet, etc. or SAS colors like lightpink, mistyrose, or steelblue. Default: first color in colors list or first default color for device font= specify font for the text string that follows; swiss, f= triplex, greek, math, italic etc. Default: complex for title1 and none for all other text. Spec- ifying none causes the default hardware font for the output device to be used height= text height specified as n in, n cm, n pct, n cells, or n h= with units unspecified. Default: the unit specified in gunit= in goptions or cells justify alignment of text string l, r, or, c, for left-, right-, j= or center-justify Default: c angle= angle in degrees displayed in the range -90 to 90 a= move= (x, y) co-ordinates of starting location of text string, m= specified using units, as in h= e.g., (1,2) in, ( cm, 3 pct); can be specified as relative co-ordinates, (±x, ±y), starting from the end of last text line drawn in the current statement. lspace= line space; space above a title or below footnotes to be ls= left blank; specified using units as in h= underlin=underline text string; 0, 1, 2, or, 3 specifies thickness of line. u= box= draw box around text string 1, 2, 3, or, 4 specifies thickness of line.
SYMBOLn options ;
color= color for symbols, lines, CL lines, outlines c= ci= color for lines co= color for CL lines, staffs, bars, and outlines cv= color for symbols value= text string, special symbol, or none to specify plot symbol v= Setting for value depends on the choice of font font= specifies the font for the plot symbol. See below for details. f= height= height of plot symbol, in units as described for the title statement h= width= thickness of interpolated lines in units of 1. Default is 1. w= repeat= number of times symbol statement is to be re-used. r= line= line option from line option table. l= interpol= type of interpolation of plot points. Various settings for this parameter and their options are summarized in Table below i=
interpolate= (type of interpolation of plot points) i= none unconnected points join connected in order of occurrence box box-plots box
PROC GCHART < data=> < gout=> < annotate=>
HBAR chart variable(s) /
Options for HBAR include:
ascending descending noheading nolegend freq cfreq percent cpercent mean sum nostats axis=value-list raxis=value-list maxis=axis-definition axis=axis-definition raxis=axis-definition group=variable subgroup=variable sumvar=variable type=statistic discrete levels=number midpoints=value-list frame caxis=color ctext=color cframe=color coutline=color patternid=method legend=legend-definition name=quoted-string
PATTERNn options ;
color= color for the bar or subgroup; if color is not specified c= the pattern statement will be repeated for each color in the colors list value= pattern for the bar/block, map/plot or pie/star as described in the text v= repeat= number of times same pattern statement is to be reused r=
Character set for the Greek font
Line types for style= and line= options
Character set for the Math font
Character set for the special font
A subset of special symbols for plotting points
Plot Plot value= Symbol value= Symbol plus + hash # x × point · star ∗ dot • square 2 circle ◦ diamond 3 - (i.e.,hyphen) triangle 4 + (i.e.,plus) ⊕
Set value= option exactly as shown and omit the font specification