SeeView Manual
SeeView Statements and Script Symbols
HP NonStop SeeView Manual—526355-004
9-51
GRAPH
Wexp
specifies an integer expression indicating the width of the graph, such as SIZE 
40,12. Valid values for Wexp range from 5..80. Width specifies the number of 
histogram elements to be graphed. For example, a width of 80 graphs more 
elements than a width of 5.
MAX
specifies the maximum allowable width or height possible. MAX is an easy way 
of making a graph as large as possible.
Hexp
specifies an integer expression indicating the height of the graph. Valid values 
for Hexp range from 3 through 24.
Example
This example shows the GRAPH statement. 
 ?PROC GraphCpus(sysno,#cpulist)
 {-----------------------------}
 { Graph cpu busy for cpu numbers 
 { contained in #cpulist for sysno
 {--------------------------------}
 PARM sysno  { system number of CPUs in cpulist
 ,#cpulist { list of cpu numbers to graph
 ;
 VAR  count:=0 { number of CPUs in #cpulist
 , cpuno  { current cpu number
 ,#s   { scratch string
 ;
#s:=#cpulist; { count number of CPUs in list
 WHILE #TRIM #s<>"" DO count:=count+1;
 FOR count DO BEGIN { graph each cpu in list
 cpuno := #TRIM #cpulist;
 GRAPH cpu.busy KEY [sysno,cpuno]
     INVERT RIGHT GRID 0
     SCALE 0,63
     SIZE 48/count,12
     HEAD "Cpu " & cpuno & " Busy";
 RIGHT;
 END;
 ?SECT main
 {---------} 
 ALTER DICTVOL $WORK.NSSDB;
 CALL GraphCpus(13,"0 1 3"); {node 13, CPUs 0 1 3










