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