source: trunk/SRC/ToBeReviewed/PLOTS/DIVERS/meridienparallele.pro @ 157

Last change on this file since 157 was 157, checked in by navarro, 18 years ago

header improvements + xxx doc

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1;------------------------------------------------------------
2;------------------------------------------------------------
3;------------------------------------------------------------
4;+
5;
6; @file_comments
7; Trace some meridians or parallel
8;
9; @categories
10; Graphics
11;
12; @param COUPE The type of drawing we treat
13;
14; @uses
15; common.pro
16;
17; @history
18; Sebastien Masson (smasson\@lodyc.jussieu.fr)
19;                       11/12/98
20;
21; @version
22; $Id$
23;
24;-
25;------------------------------------------------------------
26;------------------------------------------------------------
27;------------------------------------------------------------
28PRO meridienparallele, coupe
29;
30  compile_opt idl2, strictarrsubs
31;
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
49end
Note: See TracBrowser for help on using the repository browser.