source: trunk/SRC/Documentation/idldoc_html_output/Interpolation/clickincell.html @ 402

Last change on this file since 402 was 402, checked in by smasson, 15 years ago

update documentation

File size: 6.4 KB
RevLine 
[89]1
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
5<!-- Generated by IDLdoc 2.0 -->
6
7<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
8  <head>
[104]9    <title>clickincell.pro (SAXO Documentation)</title>
[89]10
11   
[191]12    <link rel="stylesheet" type="text/css" media="all" href="./../main_files.css" />
13    <link rel="stylesheet" type="text/css" media="print" href="./../main_files_print.css" />
[89]14   
15
16    <script type="text/javascript">
17      function setTitle() {
[104]18        parent.document.title="clickincell.pro (SAXO Documentation)";
[89]19      }
20    </script>
21  </head>
22
23  <body onload="setTitle();">
24
25    <div id="navbar_title">
[104]26  <h1>SAXO Documentation</h1>
[89]27</div>
28
29
30<div id="main_navbar">
31
32  <table cellspacing="0">
33    <tr>
34     
[189]35      <td><a href="./../overview.html" title="Overview of library">Overview</a></td>
[89]36     
37
38     
39      <td >Directory</td>
40     
41
42     
[189]43      <td><a href="./../idldoc-categories.html" title="Browse library by category">Categories</a></td>
[89]44     
45
46     
[189]47      <td><a href="./../idldoc-index.html" title="Index of files, routines, and parameters">Index</a></td>
[89]48     
49
50     
[189]51      <td><a href="./../search-page.html" title="Search library">Search</a></td>
[89]52     
53
54      <td id="selected">File</td>
55
56     
[189]57      <td><a href="../../../Interpolation//clickincell.pro" title="Source code of a file">Source</a></td>
[89]58     
59
60     
[189]61      <td><a href="./../idldoc-help.html" title="Help on IDLdoc">Help</a></td>
[89]62     
63
64      <td >Etc</td>
65
66      <td id="flexible">Developer&nbsp;documentation</td>
67    </tr>
68  </table>
69
70</div>
71
72<div id="secondary_navbar">
73
[189]74<a href="angle.html">&lt;&lt;prev file</a> | <a href="compute_fromirr_bilinear_weigaddr.html">next file &gt;&gt;</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="clickincell.html" target="_TOP">view single page</a> | <a href="./../index.html" target="_TOP">view frames</a>&nbsp;&nbsp;&nbsp;&nbsp;summary: fields | routine&nbsp;&nbsp;&nbsp;&nbsp;details: <a href="#routine_details">routine</a>
[89]75
76</div>
77
78
79    <div id="container">
80
[189]81      <h1 class="directory"><a href="directory-overview.html">Interpolation/</a></h1>
[89]82      <h2 class="pro_file">clickincell.pro</h2>
83
84      <div id="file_attr">
85        <dl>
86        </dl>
87      </div>
88
[138]89      <div id="file_comments">
90 click on a map and find in which cell the click was
[101]91</div>
[89]92
93     
94
95     
96
97     
98
99     
100
101      <div id="routine_details">
102       
103
104        <div class="routine_details" id="_clickincell">
105
[157]106          <h2><a class="top" href="#container">top</a>clickincell <span class="categories">
107 Grid
[101]108</span></h2>
[89]109       
110          <p class="header">
111            <span class="result">result = </span>clickincell(<a href="#_clickincell_keyword_CELLTYPE">CELLTYPE</a>=<span class="result">CELLTYPE</span>, <a href="#_clickincell_keyword_DRAWCELL">DRAWCELL</a>=<span class="result">DRAWCELL</span>, <a href="#_clickincell_keyword_COLOR">COLOR</a>=<span class="result">COLOR</span>, <a href="#_clickincell_keyword_ORIGINAL">ORIGINAL</a>=<span class="result">ORIGINAL</span>, <a href="#_clickincell_keyword_IJ">IJ</a>=<span class="result">IJ</span>, <a href="#_clickincell_keyword__EXTRA">_EXTRA</a>=<span class="result">_EXTRA</span>)</p>
112       
[234]113          <div class="comments">
114</div>
[89]115
[138]116          <h3>Return value</h3><div class="preformat">
[234]117 the index of the selected cells regarding to the grid which
118 is in memory in the variable of the common. If /ij keyword is
119 activated give 2D array (2, n) which are the i,j position of the
120 n selected cells.
[101]121</div>
[89]122
123         
124
125         
126
127            <h3>Keywords</h3>
128           
129            <h4 id="_clickincell_keyword_CELLTYPE">CELLTYPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
130             
131             
132             
133             
134             
135             
136             
137             
138            </h4>
139       
[234]140            <div class="comments">
[242]141 = 'T', 'W', 'U', 'V' or 'F'
142 the type of point
[402]143 that is located in the center of the cell which the click is
144 located. default is T type of cell (with corner defined by F
145 points).
[101]146</div>
[89]147           
148            <h4 id="_clickincell_keyword_DRAWCELL">DRAWCELL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
149             
150             
151             
152             
153             
154             
155             
156             
157            </h4>
158       
[234]159            <div class="comments">
160 to draw the cell in which we clicked
[101]161</div>
[89]162           
163            <h4 id="_clickincell_keyword_COLOR">COLOR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
164             
165             
166             
167             
168             
169             
170             
171             
172            </h4>
173       
[234]174            <div class="comments">
175 the color used to draw the cells (Clicking one more
176 time in the same cell will draw the cell with the white color)
[101]177</div>
[89]178           
179            <h4 id="_clickincell_keyword_ORIGINAL">ORIGINAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
180             
181             
182             
183             
184             
185             
186             
187             
188            </h4>
189       
[234]190            <div class="comments">
191 to get the position of the cell regarding the original
192 grid (with no key_shift, ixminmesh, iyminmesh...)
[101]193</div>
[89]194           
195            <h4 id="_clickincell_keyword_IJ">IJ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
196             
197             
198             
199             
200             
201             
202             
203             
204            </h4>
205       
[234]206            <div class="comments">
[242]207 see returns
[101]208</div>
[89]209           
210            <h4 id="_clickincell_keyword__EXTRA">_EXTRA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
211             
212             
213             
214             
215             
216             
217             
218             
219            </h4>
220       
[234]221            <div class="comments">
[290]222 Used to pass extra keywords to <a href="..//Interpolation/inquad.html">inquad</a> and
[338]223 <a href="/Applications/itt/idl64/help/online_help/PLOT.html">PLOT</a>
[234]224 (when /drawcell)
[101]225</div>
[89]226           
227         
228
[138]229          <h3>Examples</h3><div class="preformat">
[402]230   IDL> res = clickincell()
[101]231
[402]232 Click with the left button to select a cell. Clicking one more
233 time in the same cell remove the cell from the selection.
234 Click on the right button to quit.
235
236   IDL> plt, findgen(jpi,jpj),/nodata,map=[90,0,0],/ortho
237   IDL> print, clickincell(/draw,color=150,/xy)
[101]238</div>
239          <h3>Version history</h3>
[89]240         
[234]241          <h4>Version</h4><div class="preformat">
[402]242 $Id: clickincell.pro 372 2008-08-08 12:31:53Z pinsard $
[118]243</div>
[138]244          <h4>History</h4><div class="preformat">
[101]245      Sebastien Masson (smasson@lodyc.jussieu.fr)
246      August 2003
247</div>
[89]248         
249         
250         
251         
252         
253         
254         
255       
[101]256          <h3>Other attributes</h3>
[89]257         
258         
[234]259          <h4>Uses routines</h4><div class="preformat">
[402]260 <a href="..//Obsolete/common.html">common</a>
[101]261</div>
[89]262         
263         
264         
265       
[163]266          <h3>Statistics</h3>
267          <table class="statistics">
268            <tr><td>McCabe cyclic</td><td>          33</td></tr>
269            <tr><td>McCabe essential</td><td>           8</td></tr>
270            <tr><td>McCabe modular design</td><td>           1</td></tr>
271          </table>
[89]272         
273       
274        </div>
275       
276      </div>
277
278     
279
280      <div id="tagline">Produced by IDLdoc 2.0.</div>
281
282    </div>
283
284  </body>
[249]285</html>
Note: See TracBrowser for help on using the repository browser.