1 | ;+ |
---|
2 | ; |
---|
3 | ; @file_comments |
---|
4 | ; Trace some meridians or parallel |
---|
5 | ; |
---|
6 | ; @categories |
---|
7 | ; Graphics |
---|
8 | ; |
---|
9 | ; @param COUPE |
---|
10 | ; The type of drawing we treat |
---|
11 | ; |
---|
12 | ; @uses |
---|
13 | ; common.pro |
---|
14 | ; |
---|
15 | ; @history |
---|
16 | ; Sebastien Masson (smasson\@lodyc.jussieu.fr) |
---|
17 | ; 11/12/98 |
---|
18 | ; |
---|
19 | ; @version |
---|
20 | ; $Id$ |
---|
21 | ; |
---|
22 | ;- |
---|
23 | ; |
---|
24 | PRO meridienparallele, coupe |
---|
25 | ; |
---|
26 | compile_opt idl2, strictarrsubs |
---|
27 | ; |
---|
28 | @common |
---|
29 | ;------------------------------------------------------------ |
---|
30 | case coupe of |
---|
31 | 'xy':BEGIN |
---|
32 | if lon1 lt 180 and lon2 gt 180 then $ |
---|
33 | plot, [180,180],[lat1,lat2],/noerase,color=0 |
---|
34 | if lon1 lt 0 and lon2 gt 0 then $ |
---|
35 | plot, [0,0],[lat1,lat2],/noerase,color=0 |
---|
36 | if lon1 lt 360 and lon2 gt 360 then $ |
---|
37 | plot, [360,360],[lat1,lat2],/noerase,color=0 |
---|
38 | if lat1 lt 0 and lat2 gt 0 then $ |
---|
39 | plot, [lon1,lon2],[0,0],/noerase,color=0 |
---|
40 | END |
---|
41 | |
---|
42 | endcase |
---|
43 | |
---|
44 | return |
---|
45 | end |
---|