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