source: trunk/procs/add_txt_pltt.pro @ 13

Last change on this file since 13 was 2, checked in by post_it, 17 years ago

Initial import from ~/POST_IT/

File size: 1.5 KB
Line 
1;
2;    define additional text for pltt
3;
4            ; time/space filter ?
5               IF strpos(cmd.plt, '@f') GT 1 THEN BEGIN
6                  filter = long(strmid(cmd.plt, strpos(cmd.plt, '@f')+3, strlen(cmd.plt)-strpos(cmd.plt, '@f')-3))
7                  fildirec = strmid(cmd.plt, strpos(cmd.plt, '@f')+2, 1)
8                  filtxt = ',filter=filter,fildirec=fildirec'
9                  filleg = '  ['+fildirec+'-filter='+string(filter, format = '(I3)')+']'
10               ENDIF ELSE BEGIN
11                  filtxt = ''
12                  filleg = ''
13               ENDELSE
14            ; anomaly
15               IF strmid(cmd.trend, 0, 1) EQ '4' THEN BEGIN
16                  IF strmid(cmd.trend, 1, strlen(cmd.trend)-1) EQ 12 THEN $
17                   filleg = filleg+'  [seasonal anomaly n=12]' ELSE $
18                   filleg = filleg+'  [n='+strmid(cmd.trend, 1, strlen(cmd.trend)-1)+ ' anomaly]'
19               ENDIF
20            ; integral
21               IF field_int EQ 1 AND (size(fld))[0] EQ 1 THEN BEGIN
22                  filleg = filleg+' - integral'
23               ENDIF
24            ; inverse trend
25               IF strmid(cmd.trend, 0, 1) EQ '3' THEN BEGIN
26                  filleg = filleg+'  [n='+strmid(cmd.trend, 1, strlen(cmd.trend)-1)+ ' mean removed]'
27               ENDIF
28            ; running std dev
29               IF run_stddev GT 0 THEN BEGIN
30                  filleg = filleg+' running Std Dev ['+string(run_stddev, format = '(I3)')+']'
31               ENDIF
Note: See TracBrowser for help on using the repository browser.