|
User Documentation |
|||||||||
| prev file | next file | ||||||||||
| SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide avgstack.pro
| avgstack |
procedure avgstack, [/noclear], [useflag=boolean or string], [skipflag=boolean or string], [/keep] |
Average the records listed in the stack.
The data retrieval is done using getchunk. See the documentation there for a longer discussion on the useflag and skipflag keywords also found here.
addstack, 25
addstack, 30, 39
addstack, 41, 51, 2
avgstack
An example showing the use of the /noclear keyword.
addstack, 25
addstack, 30, 39
avgstack, /noclear ; see the result so far, do not clear it
emptystack
addstack, 50, 90, 2
avgstack ; builds on the previous result
; cleared after this use of avgstack