![]() Chapter Contents |
![]() Previous |
![]() Next |
| SAS/GRAPH Software: Reference |
AXIS statement options:
| |||||||||||||||
TITLE statement option:
| |||||||||||||||
GOPTIONS statement options:
|
Sample library member: GR08N02
libname reflib 'SAS-data-library';
goptions reset=global gunit=pct border cback=white
colors=(black blue green red) vpos=250
ftitle=swissb ftext=swiss htitle=5
htext=3;
Create the data set. REFLIB.CONCENTR contains the pH values and the concentration amount.
data reflib.concentr;
input ph conc;
datalines;
1 1E-1
2 1E-2
...more data lines...
13 1E-13
14 1E-14
;
title1 'Relationship of pH to H'
move=(-0,-3) h=4 '3'
move=(+0,+3) h=5 'O'
move=(+0,+3) h=4 '+'
move=(-0,-3) h=5 ' Concentration';
footnote j=r 'GR09N02 ';
Define symbol characteristics.
symbol interpol=join color=blue;
axis1 label=(h=4 'Scale of pH Values'
justify=left color=red
h=3 'More acid'
justify=right color=blue
'More alkaline')
minor=none
length=60
width=3;
axis2 logbase=10
logstyle=expand
color=red
label=(angle=90 h=4 color=black
'Concentration (Moles/Liter)' )
value=(tick=1 '10' height=1.5 '-14'
tick=2 '10' height=1.5 '-13'
tick=3 '10' height=1.5 '-12'
tick=4 '10' height=1.5 '-11'
tick=5 '10' height=1.5 '-10'
tick=6 '10' height=1.5 '-9'
tick=7 '10' height=1.5 '-8'
tick=8 '10' height=1.5 '-7'
tick=9 '10' height=1.5 '-6'
tick=10 '10' height=1.5 '-5'
tick=11 '10' height=1.5 '-4'
tick=12 '10' height=1.5 '-3'
tick=13 '10' height=1.5 '-2'
tick=14 '10' height=1.5 '-1')
major=(height=.75 cm)
minor=(color=blue height=.5 cm);
proc gplot data=reflib.concentr;
plot conc*ph / haxis=axis1
vaxis=axis2;
run;
quit;
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.