[144] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
| 2 | <html> |
---|
| 3 | <head> |
---|
| 4 | <meta name="generator" content= |
---|
[177] | 5 | "HTML Tidy for Mac OS X (vers 1 September 2005), see www.w3.org"> |
---|
[144] | 6 | <meta http-equiv="Content-Type" content= |
---|
| 7 | "text/html; charset=us-ascii"> |
---|
| 8 | <title>Mini Guide for Basic Commands in the XXX Program</title> |
---|
| 9 | <link rel="stylesheet" href="style.css" type="text/css"> |
---|
| 10 | <link rel="stylesheet" href="saxo.css" type="text/css"> |
---|
| 11 | <meta name="generator" content="DocBook XSL Stylesheets V1.70.1"> |
---|
[184] | 12 | <meta name="keywords" content="IDL, SAXO, xxx"> |
---|
[144] | 13 | </head> |
---|
| 14 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" |
---|
| 15 | alink="#0000FF"> |
---|
| 16 | <div class="article" lang="en"> |
---|
| 17 | <div class="titlepage"> |
---|
| 18 | <div> |
---|
| 19 | <div> |
---|
| 20 | <h2 class="title"><a name="d0e2" id="d0e2"></a> Mini Guide for |
---|
| 21 | Basic Commands in the XXX Program</h2> |
---|
| 22 | </div> |
---|
| 23 | <div> |
---|
| 24 | <div class="authorgroup"> |
---|
| 25 | <div class="author"> |
---|
| 26 | <h3 class="author"><span class="firstname">Sébastien</span> |
---|
| 27 | <span class="surname">Masson</span> <code class= |
---|
[177] | 28 | "email"><<a href="mailto:Sebastien.Masson_at_locean-ipsl.upmc.fr">Sebastien.Masson_at_locean-ipsl.upmc.fr</a>></code></h3> |
---|
[144] | 29 | </div> |
---|
| 30 | <div class="author"> |
---|
| 31 | <h3 class="author"><span class="firstname">Albert</span> |
---|
| 32 | <span class="surname">Fisher</span></h3> |
---|
| 33 | </div> |
---|
| 34 | <div class="author"> |
---|
| 35 | <h3 class="author"><span class="firstname">Françoise</span> |
---|
| 36 | <span class="surname">Pinsard</span> <code class= |
---|
| 37 | "email"><<a href= |
---|
| 38 | "mailto:Francoise.Pinsard_at_locean-ipsl.upmc.fr">Francoise.Pinsard_at_locean-ipsl.upmc.fr</a>></code></h3> |
---|
| 39 | </div> |
---|
| 40 | <div class="author"> |
---|
| 41 | <h3 class="author"><span class="firstname">Steve</span> |
---|
| 42 | <span class="surname">Navarro</span></h3> |
---|
| 43 | </div> |
---|
| 44 | </div> |
---|
| 45 | </div> |
---|
[145] | 46 | <div><span class="pubdate">svn Id of xml source file : $Id: |
---|
[194] | 47 | mini_notice.xml 193 2006-09-22 10:13:30Z pinsard $<br> |
---|
[144] | 48 | <br></span></div> |
---|
| 49 | <div> |
---|
| 50 | <div class="revhistory"> |
---|
| 51 | <table border="1" width="100%" summary="Revision history"> |
---|
| 52 | <tr> |
---|
| 53 | <th align="left" valign="top" colspan="2"><b>Revision |
---|
| 54 | History</b></th> |
---|
| 55 | </tr> |
---|
| 56 | <tr> |
---|
| 57 | <td align="left">Revision 0.0</td> |
---|
| 58 | <td align="left">May 29, 2000</td> |
---|
| 59 | </tr> |
---|
| 60 | <tr> |
---|
| 61 | <td align="left" colspan="2">French release by Sébastien |
---|
| 62 | Masson</td> |
---|
| 63 | </tr> |
---|
| 64 | <tr> |
---|
| 65 | <td align="left">Revision 0.1</td> |
---|
| 66 | <td align="left">July, 2002</td> |
---|
| 67 | </tr> |
---|
| 68 | <tr> |
---|
| 69 | <td align="left" colspan="2">Translation by Albert Fisher</td> |
---|
| 70 | </tr> |
---|
| 71 | <tr> |
---|
| 72 | <td align="left">Revision 0.2</td> |
---|
| 73 | <td align="left">July 20, 2006</td> |
---|
| 74 | </tr> |
---|
| 75 | <tr> |
---|
| 76 | <td align="left" colspan="2">HTML to XML/Docbook migration by |
---|
| 77 | Françoise Pinsard</td> |
---|
| 78 | </tr> |
---|
[177] | 79 | <tr> |
---|
| 80 | <td align="left">Revision 1.0</td> |
---|
| 81 | <td align="left">August, 2006</td> |
---|
| 82 | </tr> |
---|
| 83 | <tr> |
---|
| 84 | <td align="left" colspan="2">Major update by Steve Navarro</td> |
---|
| 85 | </tr> |
---|
| 86 | <tr> |
---|
| 87 | <td align="left">Revision 1.1</td> |
---|
| 88 | <td align="left">September, 2006</td> |
---|
| 89 | </tr> |
---|
| 90 | <tr> |
---|
| 91 | <td align="left" colspan="2">Review by Sébastien Masson</td> |
---|
| 92 | </tr> |
---|
[144] | 93 | </table> |
---|
| 94 | </div> |
---|
| 95 | </div> |
---|
| 96 | </div> |
---|
| 97 | <hr></div> |
---|
| 98 | <div class="toc"> |
---|
| 99 | <p><b>Table of Contents</b></p> |
---|
| 100 | <dl> |
---|
[177] | 101 | <dt><span class="sect1"><a href="#launchxxx">1. Launching |
---|
| 102 | XXX</a></span></dt> |
---|
[144] | 103 | <dd> |
---|
| 104 | <dl> |
---|
[177] | 105 | <dt><span class="sect2"><a href="#launch_xxx_1">1.1. <code class= |
---|
| 106 | "prompt">idl></code> <strong class= |
---|
| 107 | "userinput"><code><span><strong class= |
---|
| 108 | "command">xxx</strong></span></code></strong></a></span></dt> |
---|
| 109 | <dt><span class="sect2"><a href="#launch_xxx_2">1.2. <code class= |
---|
| 110 | "prompt">idl></code> <strong class= |
---|
| 111 | "userinput"><code><span><strong class= |
---|
| 112 | "command">xxx</strong></span>, <em class= |
---|
| 113 | "parameter"><code>/separate</code></em></code></strong></a></span></dt> |
---|
| 114 | <dt><span class="sect2"><a href="#launch_xxx_3">1.3. <code class= |
---|
| 115 | "prompt">idl></code> <strong class= |
---|
| 116 | "userinput"><code><span><strong class= |
---|
| 117 | "command">xxx</strong></span>, <em class="parameter"><code>restore |
---|
| 118 | = 'file.dat'</code></em></code></strong></a></span></dt> |
---|
| 119 | <dt><span class="sect2"><a href="#launch_xxx_4">1.4. <code class= |
---|
| 120 | "prompt">idl></code> <strong class= |
---|
| 121 | "userinput"><code><span><strong class= |
---|
| 122 | "command">xxx</strong></span>, <em class= |
---|
| 123 | "parameter"><code>'file.nc'</code></em></code></strong></a></span></dt> |
---|
| 124 | <dt><span class="sect2"><a href="#launch_xxx_5">1.5. <code class= |
---|
| 125 | "prompt">idl></code> <strong class= |
---|
| 126 | "userinput"><code><span><strong class= |
---|
| 127 | "command">xxx</strong></span>, <em class= |
---|
| 128 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
[184] | 129 | "parameter"><code>keywd1 = …</code></em>, <em class= |
---|
[177] | 130 | "parameter"><code>keywd2 = |
---|
[184] | 131 | …</code></em></code></strong></a></span></dt> |
---|
[177] | 132 | <dt><span class="sect2"><a href="#launch_xxx_6">1.6. <code class= |
---|
| 133 | "prompt">idl></code> <strong class= |
---|
| 134 | "userinput"><code><span><strong class= |
---|
| 135 | "command">xxx</strong></span>, <em class= |
---|
| 136 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
| 137 | "parameter"><code>'initgrid'</code></em></code></strong></a></span></dt> |
---|
| 138 | <dt><span class="sect2"><a href="#launch_xxx_7">1.7. <code class= |
---|
| 139 | "prompt">idl></code> <strong class= |
---|
| 140 | "userinput"><code><span><strong class= |
---|
| 141 | "command">xxx</strong></span>, <em class= |
---|
| 142 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
| 143 | "parameter"><code>'initgrid'</code></em>, <em class= |
---|
[184] | 144 | "parameter"><code>keywd1 = …</code></em>, <em class= |
---|
[177] | 145 | "parameter"><code>keywd2 = |
---|
[184] | 146 | …</code></em></code></strong></a></span></dt> |
---|
[177] | 147 | <dt><span class="sect2"><a href="#launch_xxx_8">1.8. <code class= |
---|
| 148 | "prompt">idl></code> <strong class= |
---|
| 149 | "userinput"><code><span><strong class= |
---|
| 150 | "command">xxx</strong></span>, <em class= |
---|
| 151 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
| 152 | "parameter"><code>'initgrid'</code></em>, <em class= |
---|
| 153 | "parameter"><code>'arg1, arg2, |
---|
[184] | 154 | …'</code></em></code></strong></a></span></dt> |
---|
[177] | 155 | </dl> |
---|
| 156 | </dd> |
---|
| 157 | <dt><span class="sect1"><a href="#wigdets">2. Description of XXX |
---|
[149] | 158 | window</a></span></dt> |
---|
[177] | 159 | <dd> |
---|
| 160 | <dl> |
---|
| 161 | <dt><span class="sect2"><a href="#plottypetxt">2.1. Plot type |
---|
| 162 | list</a></span></dt> |
---|
| 163 | <dt><span class="sect2"><a href="#menutxt">2.2. The menu bar made |
---|
[184] | 164 | up of 3 sub-menus</a></span></dt> |
---|
[177] | 165 | <dt><span class="sect2"><a href="#oktxt">2.3. OK |
---|
| 166 | button</a></span></dt> |
---|
| 167 | <dt><span class="sect2"><a href="#pagelayouttxt">2.4. Page |
---|
| 168 | Layout</a></span></dt> |
---|
| 169 | <dt><span class="sect2"><a href="#variableslisttxt">2.5. |
---|
| 170 | <span class="guimenuitem">List of variables</span></a></span></dt> |
---|
| 171 | <dt><span class="sect2"><a href="#fileslisttxt">2.6. <span class= |
---|
| 172 | "guimenuitem">List of open files</span></a></span></dt> |
---|
| 173 | <dt><span class="sect2"><a href="#commandtexttxt">2.7. <span class= |
---|
| 174 | "guimenuitem">Command text</span></a></span></dt> |
---|
| 175 | <dt><span class="sect2"><a href="#calendartxt">2.8. |
---|
| 176 | Calendar</a></span></dt> |
---|
| 177 | <dt><span class="sect2"><a href="#domdeftxt">2.9. Define the |
---|
| 178 | domain</a></span></dt> |
---|
[184] | 179 | <dt><span class="sect2"><a href="#specificationstxt">2.10. Specify |
---|
[177] | 180 | your plot</a></span></dt> |
---|
[144] | 181 | </dl> |
---|
| 182 | </dd> |
---|
[177] | 183 | <dt><span class="sect1"><a href="#mouseactions">3. Mouse |
---|
[157] | 184 | Actions</a></span></dt> |
---|
[144] | 185 | <dd> |
---|
| 186 | <dl> |
---|
[177] | 187 | <dt><span class="sect2"><a href="#mouse">3.1. In the graphics |
---|
[157] | 188 | window on a horizontal plot</a></span></dt> |
---|
[177] | 189 | <dt><span class="sect2"><a href="#multipleplots">3.2. Create |
---|
[144] | 190 | multiple plots on the same sheet and make them |
---|
| 191 | interact</a></span></dt> |
---|
| 192 | </dl> |
---|
| 193 | </dd> |
---|
[177] | 194 | <dt><span class="sect1"><a href="#crash">4. What should I do when |
---|
[157] | 195 | it breakdown</a></span></dt> |
---|
[144] | 196 | </dl> |
---|
| 197 | </div> |
---|
| 198 | <div class="sect1" lang="en"> |
---|
| 199 | <div class="titlepage"> |
---|
| 200 | <div> |
---|
| 201 | <div> |
---|
[177] | 202 | <h2 class="title" style="clear: both"><a name="launchxxx" id= |
---|
| 203 | "launchxxx"></a>1. Launching XXX</h2> |
---|
[144] | 204 | </div> |
---|
| 205 | </div> |
---|
| 206 | </div> |
---|
[177] | 207 | <p>There is several ways to launch XXX which we will detail in the |
---|
| 208 | next sections:</p> |
---|
| 209 | <pre class="screen"> |
---|
| 210 | <code class="prompt">idl></code> <strong class= |
---|
| 211 | "userinput"><code><span><strong class= |
---|
| 212 | "command">xxx</strong></span></code></strong> |
---|
| 213 | <code class="prompt">idl></code> <strong class= |
---|
| 214 | "userinput"><code><span><strong class= |
---|
| 215 | "command">xxx</strong></span>, <em class= |
---|
| 216 | "parameter"><code>/separate</code></em></code></strong> |
---|
| 217 | <code class="prompt">idl></code> <strong class= |
---|
| 218 | "userinput"><code><span><strong class= |
---|
| 219 | "command">xxx</strong></span>, <em class= |
---|
| 220 | "parameter"><code>restore = 'file.dat'</code></em></code></strong> |
---|
| 221 | <code class="prompt">idl></code> <strong class= |
---|
| 222 | "userinput"><code><span><strong class= |
---|
| 223 | "command">xxx</strong></span>, <em class= |
---|
| 224 | "parameter"><code>'file.nc'</code></em></code></strong> |
---|
| 225 | <code class="prompt">idl></code> <strong class= |
---|
| 226 | "userinput"><code><span><strong class= |
---|
| 227 | "command">xxx</strong></span>, <em class= |
---|
| 228 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
[184] | 229 | "parameter"><code>keywd1 = …</code></em>, <em class= |
---|
| 230 | "parameter"><code>keywd2 = …</code></em></code></strong> |
---|
[177] | 231 | <code class="prompt">idl></code> <strong class= |
---|
| 232 | "userinput"><code><span><strong class= |
---|
| 233 | "command">xxx</strong></span>, <em class= |
---|
| 234 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
| 235 | "parameter"><code>'initgrid'</code></em></code></strong> |
---|
| 236 | <code class="prompt">idl></code> <strong class= |
---|
| 237 | "userinput"><code><span><strong class= |
---|
| 238 | "command">xxx</strong></span>, <em class= |
---|
| 239 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
| 240 | "parameter"><code>'initgrid'</code></em>, <em class= |
---|
[184] | 241 | "parameter"><code>keywd1 = …</code></em>, <em class= |
---|
| 242 | "parameter"><code>keywd2 = …</code></em></code></strong> |
---|
[177] | 243 | <code class="prompt">idl></code> <strong class= |
---|
| 244 | "userinput"><code><span><strong class= |
---|
| 245 | "command">xxx</strong></span>, <em class= |
---|
| 246 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
| 247 | "parameter"><code>'initgrid'</code></em>, <em class= |
---|
[184] | 248 | "parameter"><code>'arg1, arg2, …'</code></em></code></strong> |
---|
[177] | 249 | |
---|
| 250 | </pre> |
---|
[144] | 251 | <div class="sect2" lang="en"> |
---|
| 252 | <div class="titlepage"> |
---|
| 253 | <div> |
---|
| 254 | <div> |
---|
[177] | 255 | <h3 class="title"><a name="launch_xxx_1" id= |
---|
| 256 | "launch_xxx_1"></a>1.1. <code class="prompt">idl></code> |
---|
| 257 | <strong class="userinput"><code><span><strong class= |
---|
| 258 | "command">xxx</strong></span></code></strong></h3> |
---|
[144] | 259 | </div> |
---|
| 260 | </div> |
---|
| 261 | </div> |
---|
[177] | 262 | <p>A window will open with 3 parts to consider.</p> |
---|
[149] | 263 | <div class="figure"><a name="fig_xxx_0101" id="fig_xxx_0101"></a> |
---|
[177] | 264 | <p class="title"><b>Figure 1. Window xxx 1</b></p> |
---|
[144] | 265 | <div class="figure-contents"> |
---|
[177] | 266 | <div class="mediaobjectco"><img border="0" usemap="d0e204" src= |
---|
[189] | 267 | "figpng/xxx_0101.png" alt="Window xxx 1"><map name="d0e204" id= |
---|
| 268 | "d0e204"> |
---|
[149] | 269 | <area shape="rect" coords="26,256,485,214"> |
---|
| 270 | <area shape="rect" coords="78,208,433,157"> |
---|
| 271 | <area shape="rect" coords="3,150,518,31"></map> |
---|
[144] | 272 | <div class="calloutlist"> |
---|
| 273 | <table border="0" summary="Callout list"> |
---|
| 274 | <tr> |
---|
| 275 | <td width="5%" valign="top" align="left"><img src= |
---|
[189] | 276 | "images/callouts/1.png" alt="1" border="0"></td> |
---|
[144] | 277 | <td valign="top" align="left"> |
---|
[177] | 278 | <p>Data file name</p> |
---|
[144] | 279 | </td> |
---|
| 280 | </tr> |
---|
| 281 | <tr> |
---|
| 282 | <td width="5%" valign="top" align="left"><img src= |
---|
[189] | 283 | "images/callouts/2.png" alt="2" border="0"></td> |
---|
[144] | 284 | <td valign="top" align="left"> |
---|
[177] | 285 | <p>Grid initialization method</p> |
---|
[144] | 286 | </td> |
---|
| 287 | </tr> |
---|
[149] | 288 | <tr> |
---|
| 289 | <td width="5%" valign="top" align="left"><img src= |
---|
[189] | 290 | "images/callouts/3.png" alt="3" border="0"></td> |
---|
[149] | 291 | <td valign="top" align="left"> |
---|
[177] | 292 | <p>Grid initialization parameters</p> |
---|
[149] | 293 | </td> |
---|
| 294 | </tr> |
---|
[144] | 295 | </table> |
---|
| 296 | </div> |
---|
| 297 | </div> |
---|
| 298 | </div> |
---|
| 299 | </div> |
---|
[177] | 300 | <p><br class="figure-break"></p> |
---|
[149] | 301 | <div class="sect3" lang="en"> |
---|
| 302 | <div class="titlepage"> |
---|
| 303 | <div> |
---|
| 304 | <div> |
---|
[177] | 305 | <h4 class="title"><a name="datafiletxt" id= |
---|
| 306 | "datafiletxt"></a>1.1.1. Data file name</h4> |
---|
[149] | 307 | </div> |
---|
| 308 | </div> |
---|
| 309 | </div> |
---|
[177] | 310 | <p>The name of the data file. It can be typed directly in the |
---|
[149] | 311 | window provided, or selected with the help of the <span class= |
---|
| 312 | "guibutton">browse</span> button.</p> |
---|
| 313 | </div> |
---|
| 314 | <div class="sect3" lang="en"> |
---|
| 315 | <div class="titlepage"> |
---|
| 316 | <div> |
---|
| 317 | <div> |
---|
| 318 | <h4 class="title"><a name="initmethodtxt" id= |
---|
[177] | 319 | "initmethodtxt"></a>1.1.2. Grid initialization method</h4> |
---|
[149] | 320 | </div> |
---|
| 321 | </div> |
---|
| 322 | </div> |
---|
[177] | 323 | <p>For visualising grilled data, you need to <a href= |
---|
[189] | 324 | "./firststeps.html#load_grid" target="_top">define the grid</a> on |
---|
| 325 | which are located the data. By default, "automatic grid |
---|
[177] | 326 | construction with initncdf.pro" is checked. This means that the |
---|
| 327 | grid will be defined by using the informations contained in the |
---|
| 328 | data file (through the IDL prodecure <span><strong class= |
---|
| 329 | "command">initncdf</strong></span>) without needing any other |
---|
| 330 | auxillary file. If you checked "grid construction with other IDL |
---|
| 331 | batch or procedure", this means that you don't want to use the |
---|
| 332 | default <span><strong class="command">initncdf</strong></span> |
---|
| 333 | procedure to define the grid and you will provide your own IDL |
---|
| 334 | procedure or the so-called IDL batch file (a file which is called |
---|
| 335 | by using @, see IDL documentation).</p> |
---|
[149] | 336 | </div> |
---|
| 337 | <div class="sect3" lang="en"> |
---|
| 338 | <div class="titlepage"> |
---|
| 339 | <div> |
---|
| 340 | <div> |
---|
| 341 | <h4 class="title"><a name="initprogramtxt" id= |
---|
[177] | 342 | "initprogramtxt"></a>1.1.3. Grid initialization |
---|
| 343 | parameters</h4> |
---|
[149] | 344 | </div> |
---|
| 345 | </div> |
---|
| 346 | </div> |
---|
[177] | 347 | <p>This third part allows you to specify the name, the argument and |
---|
| 348 | the keywords of the routine you want to use to initialize the grid. |
---|
| 349 | By default the name of the procedure is <span><strong class= |
---|
| 350 | "command">initncdf</strong></span>, its argument will be |
---|
| 351 | automatically defined so you cannot change them. If you If you |
---|
| 352 | checked "grid construction with other IDL batch or procedure", you |
---|
| 353 | have to select the name of the IDL procedure or batch file and its |
---|
| 354 | suitable arguments and keywords. Note that if you select an IDL |
---|
| 355 | batch file you cannot give any parameter or keyword.</p> |
---|
[149] | 356 | <div class="figure"><a name="fig_xxx_0102" id="fig_xxx_0102"></a> |
---|
[177] | 357 | <p class="title"><b>Figure 2. Window xxx 1</b></p> |
---|
[149] | 358 | <div class="figure-contents"> |
---|
[177] | 359 | <div class="mediaobjectco"><img border="0" usemap="d0e258" src= |
---|
[189] | 360 | "figpng/xxx_0102.png" alt="Window xxx 1"><map name="d0e258" id= |
---|
| 361 | "d0e258"></map></div> |
---|
[149] | 362 | </div> |
---|
| 363 | </div> |
---|
[144] | 364 | <p><br class="figure-break"></p> |
---|
| 365 | <p>Once these two lines have been completed, click on <span class= |
---|
[149] | 366 | "guibutton">let's go</span>.</p> |
---|
[177] | 367 | <p>For example, we choose the IDL batch file "tst_initlev". Compare |
---|
| 368 | the result with "automatic grid construction with initncdf.pro" |
---|
[157] | 369 | checked. Cf <a href="#fig_xxx_0404" title= |
---|
[177] | 370 | "Figure 18. temperature of the ocean at depth 125 meters without proper land/sea mask"> |
---|
| 371 | Figure 18, “temperature of the ocean at depth 125 meters |
---|
| 372 | without proper land/sea mask”</a></p> |
---|
[157] | 373 | <div class="figure"><a name="fig_xxx_0103" id="fig_xxx_0103"></a> |
---|
[184] | 374 | <p class="title"><b>Figure 3. Oceania at 125 meters of |
---|
[177] | 375 | depth with proper grid initialization</b></p> |
---|
[189] | 376 | <div class="figure-contents"><img src="figpng/xxx_0103.png" alt= |
---|
[184] | 377 | "Oceania at 125 meters of depth with proper grid initialization"></div> |
---|
[144] | 378 | </div> |
---|
[157] | 379 | <p><br class="figure-break"></p> |
---|
[149] | 380 | </div> |
---|
[157] | 381 | </div> |
---|
[144] | 382 | <div class="sect2" lang="en"> |
---|
| 383 | <div class="titlepage"> |
---|
| 384 | <div> |
---|
| 385 | <div> |
---|
[177] | 386 | <h3 class="title"><a name="launch_xxx_2" id= |
---|
| 387 | "launch_xxx_2"></a>1.2. <code class="prompt">idl></code> |
---|
| 388 | <strong class="userinput"><code><span><strong class= |
---|
| 389 | "command">xxx</strong></span>, <em class= |
---|
| 390 | "parameter"><code>/separate</code></em></code></strong></h3> |
---|
[144] | 391 | </div> |
---|
| 392 | </div> |
---|
| 393 | </div> |
---|
[177] | 394 | <p>This is the same as the simple <a href="#launch_xxx_1" title= |
---|
| 395 | "1.1. idl> xxx"><code class="prompt">idl></code> |
---|
| 396 | <strong class="userinput"><code><span><strong class= |
---|
| 397 | "command">xxx</strong></span></code></strong></a> except that once |
---|
| 398 | the xxx window open, you will have 2 separate windows (command and |
---|
| 399 | plotting window) instead of one.</p> |
---|
| 400 | </div> |
---|
| 401 | <div class="sect2" lang="en"> |
---|
| 402 | <div class="titlepage"> |
---|
| 403 | <div> |
---|
| 404 | <div> |
---|
| 405 | <h3 class="title"><a name="launch_xxx_3" id= |
---|
| 406 | "launch_xxx_3"></a>1.3. <code class="prompt">idl></code> |
---|
| 407 | <strong class="userinput"><code><span><strong class= |
---|
| 408 | "command">xxx</strong></span>, <em class="parameter"><code>restore |
---|
| 409 | = 'file.dat'</code></em></code></strong></h3> |
---|
| 410 | </div> |
---|
| 411 | </div> |
---|
| 412 | </div> |
---|
| 413 | <p>In that case xxx window will open directly in the same state as |
---|
| 414 | it was when the file "file.dat" was created. see <a href= |
---|
| 415 | "#restore">+++++++</a></p> |
---|
| 416 | </div> |
---|
| 417 | <div class="sect2" lang="en"> |
---|
| 418 | <div class="titlepage"> |
---|
| 419 | <div> |
---|
| 420 | <div> |
---|
| 421 | <h3 class="title"><a name="launch_xxx_4" id= |
---|
| 422 | "launch_xxx_4"></a>1.4. <code class="prompt">idl></code> |
---|
| 423 | <strong class="userinput"><code><span><strong class= |
---|
| 424 | "command">xxx</strong></span>, <em class= |
---|
| 425 | "parameter"><code>'file.nc'</code></em></code></strong></h3> |
---|
| 426 | </div> |
---|
| 427 | </div> |
---|
| 428 | </div> |
---|
| 429 | <p>In this case, the xxx window directly open the data file |
---|
| 430 | 'file.nc' and build the grid automatically with the IDL procedure |
---|
| 431 | <span><strong class="command">initncdf</strong></span>. For |
---|
| 432 | example:</p> |
---|
| 433 | <pre class="screen"> |
---|
| 434 | <code class="prompt">idl></code> <strong class= |
---|
| 435 | "userinput"><code><span><strong class= |
---|
| 436 | "command">xxx</strong></span>, <em class= |
---|
| 437 | "parameter"><code>'Levitus98_1m_01_12_Temperature_Pot_1x1.nc'</code></em></code></strong> |
---|
| 438 | |
---|
| 439 | </pre></div> |
---|
| 440 | <div class="sect2" lang="en"> |
---|
| 441 | <div class="titlepage"> |
---|
| 442 | <div> |
---|
| 443 | <div> |
---|
| 444 | <h3 class="title"><a name="launch_xxx_5" id= |
---|
| 445 | "launch_xxx_5"></a>1.5. <code class="prompt">idl></code> |
---|
| 446 | <strong class="userinput"><code><span><strong class= |
---|
| 447 | "command">xxx</strong></span>, <em class= |
---|
| 448 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
[184] | 449 | "parameter"><code>keywd1 = …</code></em>, <em class= |
---|
| 450 | "parameter"><code>keywd2 = |
---|
| 451 | …</code></em></code></strong></h3> |
---|
[177] | 452 | </div> |
---|
| 453 | </div> |
---|
| 454 | </div> |
---|
| 455 | <p>In this case, the xxx window directly open the data file |
---|
| 456 | 'file.nc', build the grid automatically with the IDL procedure |
---|
| 457 | <span><strong class="command">initncdf</strong></span> and use the |
---|
| 458 | keywords <strong class="userinput"><code><em class= |
---|
[184] | 459 | "parameter"><code>keywd1 = …</code></em>, <em class= |
---|
| 460 | "parameter"><code>keywd2 = …</code></em></code></strong> in |
---|
| 461 | the call of <span><strong class="command">initncdf</strong></span>. |
---|
| 462 | For example:</p> |
---|
[177] | 463 | <pre class="screen"> |
---|
| 464 | <code class="prompt">idl></code> <strong class= |
---|
| 465 | "userinput"><code><span><strong class= |
---|
| 466 | "command">xxx</strong></span>, <em class= |
---|
| 467 | "parameter"><code>'Levitus98_1m_01_12_Temperature_Pot_1x1.nc'</code></em>, <em class="parameter"><code>useasmask = 'votemper'</code></em>, <em class="parameter"><code>missing_value = 31.0720</code></em></code></strong> |
---|
| 468 | |
---|
| 469 | </pre></div> |
---|
| 470 | <div class="sect2" lang="en"> |
---|
| 471 | <div class="titlepage"> |
---|
| 472 | <div> |
---|
| 473 | <div> |
---|
| 474 | <h3 class="title"><a name="launch_xxx_6" id= |
---|
| 475 | "launch_xxx_6"></a>1.6. <code class="prompt">idl></code> |
---|
| 476 | <strong class="userinput"><code><span><strong class= |
---|
| 477 | "command">xxx</strong></span>, <em class= |
---|
| 478 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
| 479 | "parameter"><code>'initgrid'</code></em></code></strong></h3> |
---|
| 480 | </div> |
---|
| 481 | </div> |
---|
| 482 | </div> |
---|
| 483 | <p>In this case, the xxx window directly open the data file |
---|
| 484 | 'file.nc' and build the grid directly with the IDL procedure or |
---|
| 485 | batch file <span><strong class= |
---|
| 486 | "command">initgrid</strong></span></p> |
---|
| 487 | <pre class="screen"> |
---|
| 488 | <code class="prompt">idl></code> <strong class= |
---|
| 489 | "userinput"><code><span><strong class= |
---|
| 490 | "command">xxx</strong></span>, <em class= |
---|
| 491 | "parameter"><code>'Levitus98_1m_01_12_Temperature_Pot_ORCA2.nc'</code></em>, <em class="parameter"><code>'tst_initorca2'</code></em></code></strong> |
---|
| 492 | |
---|
| 493 | </pre></div> |
---|
| 494 | <div class="sect2" lang="en"> |
---|
| 495 | <div class="titlepage"> |
---|
| 496 | <div> |
---|
| 497 | <div> |
---|
| 498 | <h3 class="title"><a name="launch_xxx_7" id= |
---|
| 499 | "launch_xxx_7"></a>1.7. <code class="prompt">idl></code> |
---|
| 500 | <strong class="userinput"><code><span><strong class= |
---|
| 501 | "command">xxx</strong></span>, <em class= |
---|
| 502 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
| 503 | "parameter"><code>'initgrid'</code></em>, <em class= |
---|
[184] | 504 | "parameter"><code>keywd1 = …</code></em>, <em class= |
---|
| 505 | "parameter"><code>keywd2 = |
---|
| 506 | …</code></em></code></strong></h3> |
---|
[177] | 507 | </div> |
---|
| 508 | </div> |
---|
| 509 | </div> |
---|
| 510 | <p>In this case, the xxx window directly open the data file |
---|
| 511 | 'file.nc', build the grid directly with the IDL procedure |
---|
| 512 | <span><strong class="command">initgrid</strong></span> and use the |
---|
| 513 | keywords <strong class="userinput"><code><em class= |
---|
[184] | 514 | "parameter"><code>keywd1 = …</code></em>, <em class= |
---|
| 515 | "parameter"><code>keywd2 = …</code></em></code></strong> in |
---|
| 516 | the call of <span><strong class= |
---|
| 517 | "command">initgrid</strong></span>.</p> |
---|
[177] | 518 | </div> |
---|
| 519 | <div class="sect2" lang="en"> |
---|
| 520 | <div class="titlepage"> |
---|
| 521 | <div> |
---|
| 522 | <div> |
---|
| 523 | <h3 class="title"><a name="launch_xxx_8" id= |
---|
| 524 | "launch_xxx_8"></a>1.8. <code class="prompt">idl></code> |
---|
| 525 | <strong class="userinput"><code><span><strong class= |
---|
| 526 | "command">xxx</strong></span>, <em class= |
---|
| 527 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
| 528 | "parameter"><code>'initgrid'</code></em>, <em class= |
---|
| 529 | "parameter"><code>'arg1, arg2, |
---|
[184] | 530 | …'</code></em></code></strong></h3> |
---|
[177] | 531 | </div> |
---|
| 532 | </div> |
---|
| 533 | </div> |
---|
| 534 | <p>In this case, the xxx window directly open the data file |
---|
| 535 | 'file.nc', build the grid directly with the IDL procedure |
---|
| 536 | <span><strong class="command">initgrid</strong></span> and use the |
---|
| 537 | string <strong class="userinput"><code><em class= |
---|
[184] | 538 | "parameter"><code>'arg1, arg2, |
---|
| 539 | …'</code></em></code></strong> to specify the input |
---|
| 540 | arguments in the call of <span><strong class= |
---|
[177] | 541 | "command">initgrid</strong></span>.</p> |
---|
| 542 | </div> |
---|
| 543 | </div> |
---|
| 544 | <div class="sect1" lang="en"> |
---|
| 545 | <div class="titlepage"> |
---|
| 546 | <div> |
---|
| 547 | <div> |
---|
| 548 | <h2 class="title" style="clear: both"><a name="wigdets" id= |
---|
| 549 | "wigdets"></a>2. Description of XXX window</h2> |
---|
| 550 | </div> |
---|
| 551 | </div> |
---|
| 552 | </div> |
---|
[149] | 553 | <div class="figure"><a name="fig_xxx_0201" id="fig_xxx_0201"></a> |
---|
[157] | 554 | <p class="title"><b>Figure 4. Window xxx 2</b></p> |
---|
[144] | 555 | <div class="figure-contents"> |
---|
[177] | 556 | <div class="mediaobjectco"><img border="0" usemap="d0e506" src= |
---|
[189] | 557 | "figpng/xxx_0201.png" alt="Window xxx 2"><map name="d0e506" id= |
---|
| 558 | "d0e506"> |
---|
[149] | 559 | <area shape="rect" coords="3,606,97,579"> |
---|
| 560 | <area shape="rect" coords="108,606,325,577"> |
---|
| 561 | <area shape="rect" coords="5,571,44,544"> |
---|
| 562 | <area shape="rect" coords="70,571,193,544"> |
---|
| 563 | <area shape="rect" coords="209,570,323,545"> |
---|
| 564 | <area shape="rect" coords="2,535,344,513"> |
---|
| 565 | <area shape="rect" coords="2,504,346,470"> |
---|
| 566 | <area shape="rect" coords="2,461,212,414"> |
---|
| 567 | <area shape="rect" coords="16,403,308,183"> |
---|
| 568 | <area shape="rect" coords="1,172,345,50"></map> |
---|
[144] | 569 | <div class="calloutlist"> |
---|
| 570 | <table border="0" summary="Callout list"> |
---|
| 571 | <tr> |
---|
| 572 | <td width="5%" valign="top" align="left"><img src= |
---|
[189] | 573 | "images/callouts/1.png" alt="1" border="0"></td> |
---|
[144] | 574 | <td valign="top" align="left"> |
---|
[149] | 575 | <p>Plot type</p> |
---|
[144] | 576 | </td> |
---|
| 577 | </tr> |
---|
| 578 | <tr> |
---|
| 579 | <td width="5%" valign="top" align="left"><img src= |
---|
[189] | 580 | "images/callouts/2.png" alt="2" border="0"></td> |
---|
[144] | 581 | <td valign="top" align="left"> |
---|
[149] | 582 | <p>Menu</p> |
---|
[144] | 583 | </td> |
---|
| 584 | </tr> |
---|
| 585 | <tr> |
---|
| 586 | <td width="5%" valign="top" align="left"><img src= |
---|
[189] | 587 | "images/callouts/3.png" alt="3" border="0"></td> |
---|
[144] | 588 | <td valign="top" align="left"> |
---|
[149] | 589 | <p>OK</p> |
---|
[144] | 590 | </td> |
---|
| 591 | </tr> |
---|
| 592 | <tr> |
---|
| 593 | <td width="5%" valign="top" align="left"><img src= |
---|
[189] | 594 | "images/callouts/4.png" alt="4" border="0"></td> |
---|
[144] | 595 | <td valign="top" align="left"> |
---|
[149] | 596 | <p>Page layout</p> |
---|
[144] | 597 | </td> |
---|
| 598 | </tr> |
---|
[149] | 599 | <tr> |
---|
| 600 | <td width="5%" valign="top" align="left"><img src= |
---|
[189] | 601 | "images/callouts/5.png" alt="5" border="0"></td> |
---|
[149] | 602 | <td valign="top" align="left"> |
---|
| 603 | <p>Variables list</p> |
---|
| 604 | </td> |
---|
| 605 | </tr> |
---|
| 606 | <tr> |
---|
| 607 | <td width="5%" valign="top" align="left"><img src= |
---|
[189] | 608 | "images/callouts/6.png" alt="6" border="0"></td> |
---|
[149] | 609 | <td valign="top" align="left"> |
---|
| 610 | <p>Files list</p> |
---|
| 611 | </td> |
---|
| 612 | </tr> |
---|
| 613 | <tr> |
---|
| 614 | <td width="5%" valign="top" align="left"><img src= |
---|
[189] | 615 | "images/callouts/7.png" alt="7" border="0"></td> |
---|
[149] | 616 | <td valign="top" align="left"> |
---|
| 617 | <p>Command text</p> |
---|
| 618 | </td> |
---|
| 619 | </tr> |
---|
| 620 | <tr> |
---|
| 621 | <td width="5%" valign="top" align="left"><img src= |
---|
[189] | 622 | "images/callouts/8.png" alt="8" border="0"></td> |
---|
[149] | 623 | <td valign="top" align="left"> |
---|
| 624 | <p>Calendar</p> |
---|
| 625 | </td> |
---|
| 626 | </tr> |
---|
| 627 | <tr> |
---|
| 628 | <td width="5%" valign="top" align="left"><img src= |
---|
[189] | 629 | "images/callouts/9.png" alt="9" border="0"></td> |
---|
[149] | 630 | <td valign="top" align="left"> |
---|
| 631 | <p>Domdef</p> |
---|
| 632 | </td> |
---|
| 633 | </tr> |
---|
| 634 | <tr> |
---|
| 635 | <td width="5%" valign="top" align="left"><img src= |
---|
[189] | 636 | "images/callouts/10.png" alt="10" border="0"></td> |
---|
[149] | 637 | <td valign="top" align="left"> |
---|
| 638 | <p>Spefications</p> |
---|
| 639 | </td> |
---|
| 640 | </tr> |
---|
[144] | 641 | </table> |
---|
| 642 | </div> |
---|
| 643 | </div> |
---|
| 644 | </div> |
---|
| 645 | </div> |
---|
| 646 | <p><br class="figure-break"></p> |
---|
[177] | 647 | <div class="sect2" lang="en"> |
---|
[144] | 648 | <div class="titlepage"> |
---|
| 649 | <div> |
---|
| 650 | <div> |
---|
[177] | 651 | <h3 class="title"><a name="plottypetxt" id= |
---|
| 652 | "plottypetxt"></a>2.1. Plot type list</h3> |
---|
[144] | 653 | </div> |
---|
| 654 | </div> |
---|
| 655 | </div> |
---|
[184] | 656 | <p>Allows specification of the type of plot desired.</p> |
---|
[149] | 657 | <div class="figure"><a name="fig_xxx_0202" id="fig_xxx_0202"></a> |
---|
[184] | 658 | <p class="title"><b>Figure 5. Different plot types |
---|
| 659 | available</b></p> |
---|
[189] | 660 | <div class="figure-contents"><img src="figpng/xxx_0202.png" alt= |
---|
[184] | 661 | "Different plot types available"></div> |
---|
[149] | 662 | </div> |
---|
| 663 | <p><br class="figure-break"></p> |
---|
| 664 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> |
---|
| 665 | <h3 class="title">Note</h3> |
---|
| 666 | <p>If the type <code class="constant">plt</code> is selected, the |
---|
| 667 | selection of plot type is made by mouse. Cf <a href="#mouse" title= |
---|
[177] | 668 | "3.1. In the graphics window on a horizontal plot">Section 3.1, |
---|
[157] | 669 | “In the graphics window on a horizontal plot”</a></p> |
---|
[149] | 670 | </div> |
---|
| 671 | </div> |
---|
[177] | 672 | <div class="sect2" lang="en"> |
---|
[149] | 673 | <div class="titlepage"> |
---|
| 674 | <div> |
---|
| 675 | <div> |
---|
[177] | 676 | <h3 class="title"><a name="menutxt" id="menutxt"></a>2.2. The |
---|
[184] | 677 | menu bar made up of 3 sub-menus</h3> |
---|
[149] | 678 | </div> |
---|
| 679 | </div> |
---|
| 680 | </div> |
---|
[177] | 681 | <div class="sect3" lang="en"> |
---|
[144] | 682 | <div class="titlepage"> |
---|
| 683 | <div> |
---|
| 684 | <div> |
---|
[177] | 685 | <h4 class="title"><a name="filesubmenu" id= |
---|
| 686 | "filesubmenu"></a>2.2.1. <span class="guisubmenu">File</span> |
---|
[184] | 687 | sub-menu</h4> |
---|
[144] | 688 | </div> |
---|
| 689 | </div> |
---|
| 690 | </div> |
---|
[149] | 691 | <div class="figure"><a name="fig_xxx_0203" id="fig_xxx_0203"></a> |
---|
[157] | 692 | <p class="title"><b>Figure 6. The File menu</b></p> |
---|
[189] | 693 | <div class="figure-contents"><img src="figpng/xxx_0203.png" alt= |
---|
| 694 | "The File menu"></div> |
---|
[149] | 695 | </div> |
---|
| 696 | <p><br class="figure-break"></p> |
---|
[144] | 697 | <div class="itemizedlist"> |
---|
| 698 | <ul type="disc"> |
---|
| 699 | <li> |
---|
[177] | 700 | <p><span class="guibutton">Open:</span> to open a new file. Same |
---|
| 701 | procedure as during the <a href="#launch_xxx_1" title= |
---|
| 702 | "1.1. idl> xxx">launch of XXX</a>. The new file can be on a |
---|
| 703 | different grid, with different variables, with a different time |
---|
[184] | 704 | base …</p> |
---|
[144] | 705 | </li> |
---|
| 706 | <li> |
---|
[177] | 707 | <p><span class="guibutton">New XXX:</span> to open a second XXX |
---|
| 708 | window identical to the first one.</p> |
---|
[144] | 709 | </li> |
---|
| 710 | <li> |
---|
[177] | 711 | <p><span class="guibutton">Quit:</span> to close the XXX |
---|
[144] | 712 | window.</p> |
---|
| 713 | </li> |
---|
| 714 | </ul> |
---|
| 715 | </div> |
---|
| 716 | </div> |
---|
[177] | 717 | <div class="sect3" lang="en"> |
---|
[144] | 718 | <div class="titlepage"> |
---|
| 719 | <div> |
---|
| 720 | <div> |
---|
[177] | 721 | <h4 class="title"><a name="saveassubmenu" id= |
---|
| 722 | "saveassubmenu"></a>2.2.2. <span class="guisubmenu">Save |
---|
[184] | 723 | As</span> sub-menu</h4> |
---|
[144] | 724 | </div> |
---|
| 725 | </div> |
---|
| 726 | </div> |
---|
[149] | 727 | <div class="figure"><a name="fig_xxx_0204" id="fig_xxx_0204"></a> |
---|
[157] | 728 | <p class="title"><b>Figure 7. The Save As menu</b></p> |
---|
[189] | 729 | <div class="figure-contents"><img src="figpng/xxx_0204.png" alt= |
---|
| 730 | "The Save As menu"></div> |
---|
[149] | 731 | </div> |
---|
| 732 | <p><br class="figure-break"></p> |
---|
[144] | 733 | <div class="itemizedlist"> |
---|
| 734 | <ul type="disc"> |
---|
| 735 | <li> |
---|
[177] | 736 | <p><span class="guibutton">Postscript:</span> to save the plotting |
---|
| 737 | window in Postscript format</p> |
---|
[144] | 738 | </li> |
---|
| 739 | <li> |
---|
[177] | 740 | <p><span class="guibutton">Animated gif:</span> to create an |
---|
| 741 | animation of the plotting window.</p> |
---|
[157] | 742 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> |
---|
| 743 | <h3 class="title">Note</h3> |
---|
[177] | 744 | <p>The creation of an animation is only possible if none of the |
---|
| 745 | plots have a time axis, and if the plots are all on the same time |
---|
| 746 | base (calendar). On the other hand, animations of horizontal and |
---|
| 747 | vertical plots, with different color palettes (for those not on an |
---|
| 748 | X-terminal), are possible.</p> |
---|
| 749 | </div> |
---|
| 750 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> |
---|
| 751 | <h3 class="title">Note</h3> |
---|
[184] | 752 | <p>The creation of animations has a tendency to saturate the video |
---|
| 753 | memory of X-terminals, crashing the entire program …</p> |
---|
[157] | 754 | </div> |
---|
[144] | 755 | </li> |
---|
| 756 | <li> |
---|
[177] | 757 | <p><span class="guibutton">Gif:</span> to save a gif of the |
---|
| 758 | plotting window.</p> |
---|
[144] | 759 | </li> |
---|
| 760 | <li> |
---|
[177] | 761 | <p><span class="guibutton">IDL procedure:</span> to save the |
---|
| 762 | command history that has created the plot in an IDL procedure that |
---|
[184] | 763 | can be re-executed later. For example if I save the commands in |
---|
[177] | 764 | <code class="filename">xxx_figure.pro</code> file, when ever I |
---|
| 765 | want, I can then launch a new IDL session and type:</p> |
---|
[144] | 766 | <pre class="screen"> |
---|
| 767 | <code class="prompt">idl></code> <strong class= |
---|
| 768 | "userinput"><code>@init</code></strong> |
---|
| 769 | <code class="prompt">idl></code> <strong class= |
---|
| 770 | "userinput"><code>xxx_figure</code></strong> |
---|
| 771 | </pre> |
---|
| 772 | <p>and I'll obtain the saved figure.</p> |
---|
| 773 | <pre class="screen"> |
---|
| 774 | <code class="prompt">idl></code> <strong class= |
---|
[184] | 775 | "userinput"><code>xxx_figure,/post</code></strong> |
---|
[144] | 776 | </pre> |
---|
| 777 | <p>or</p> |
---|
| 778 | <pre class="screen"> |
---|
| 779 | <code class="prompt">idl></code> <strong class= |
---|
| 780 | "userinput"><code>@ps</code></strong> |
---|
| 781 | </pre> |
---|
| 782 | <p>will then create a Postscript file of the figure.</p> |
---|
| 783 | </li> |
---|
| 784 | <li> |
---|
[177] | 785 | <p><a name="restore" id="restore"></a><span class= |
---|
| 786 | "guibutton">RESTORE kwd of xxx:</span> to save the xxx widget (all |
---|
[184] | 787 | buttons and parameters stored in memory …) in a binary file |
---|
| 788 | in order to quit xxx and relaunch it later with <a href= |
---|
| 789 | "#launch_xxx_3" title= |
---|
| 790 | "1.3. idl> xxx, restore = 'file.dat'"><code class= |
---|
[177] | 791 | "prompt">idl></code> <strong class= |
---|
| 792 | "userinput"><code><span><strong class= |
---|
| 793 | "command">xxx</strong></span>, <em class="parameter"><code>restore |
---|
| 794 | = 'file.dat'</code></em></code></strong></a> and get exactly the |
---|
| 795 | same configuration.</p> |
---|
[144] | 796 | </li> |
---|
[157] | 797 | <li> |
---|
[177] | 798 | <p><span class="guibutton">Print to prompt:</span> lists in the IDL |
---|
| 799 | window the command history that created the last plot. Useful |
---|
[184] | 800 | primarily for debugging…</p> |
---|
[157] | 801 | </li> |
---|
[144] | 802 | </ul> |
---|
| 803 | </div> |
---|
| 804 | </div> |
---|
[177] | 805 | <div class="sect3" lang="en"> |
---|
[144] | 806 | <div class="titlepage"> |
---|
| 807 | <div> |
---|
| 808 | <div> |
---|
[177] | 809 | <h4 class="title"><a name="flagsubmenu" id= |
---|
| 810 | "flagsubmenu"></a>2.2.3. <span class="guisubmenu">Flag |
---|
[184] | 811 | options</span> sub-menu</h4> |
---|
[144] | 812 | </div> |
---|
| 813 | </div> |
---|
| 814 | </div> |
---|
[149] | 815 | <div class="figure"><a name="fig_xxx_0205" id="fig_xxx_0205"></a> |
---|
[157] | 816 | <p class="title"><b>Figure 8. The Flag Option |
---|
| 817 | menu</b></p> |
---|
[189] | 818 | <div class="figure-contents"><img src="figpng/xxx_0205.png" alt= |
---|
| 819 | "The Flag Option menu"></div> |
---|
[149] | 820 | </div> |
---|
| 821 | <p><br class="figure-break"></p> |
---|
[144] | 822 | <div class="itemizedlist"> |
---|
| 823 | <ul type="disc"> |
---|
| 824 | <li> |
---|
| 825 | <p><span class="guibutton">Portrait/Landscape:</span> changes the |
---|
| 826 | configuration of the plot.</p> |
---|
| 827 | </li> |
---|
| 828 | <li> |
---|
| 829 | <p><span class="guibutton">Overlay:</span> to plot contours of a |
---|
| 830 | different field on top the one represented as color-filled |
---|
| 831 | contours. It is necessary to relaunch the entire plot to make this |
---|
| 832 | work!</p> |
---|
| 833 | </li> |
---|
| 834 | <li> |
---|
| 835 | <p><span class="guibutton">Vecteur:</span> to plot a vector field |
---|
| 836 | on top of contours. Only works on horizontal plots (<code class= |
---|
| 837 | "filename">plt.pro</code>). As for Overlay, a relaunch of the |
---|
| 838 | entire plot is necessary.</p> |
---|
| 839 | </li> |
---|
| 840 | <li> |
---|
| 841 | <p><span class="guibutton">Longitude / x index:</span> switches |
---|
[184] | 842 | longitude labeling of the plot sub-domain from degrees to indexes |
---|
[144] | 843 | following i.</p> |
---|
| 844 | </li> |
---|
| 845 | <li> |
---|
| 846 | <p><span class="guibutton">Latitude / y index:</span> switches |
---|
[184] | 847 | latitude labeling of the plot sub-domain from degrees to indexes |
---|
[144] | 848 | following j.</p> |
---|
| 849 | </li> |
---|
| 850 | </ul> |
---|
| 851 | </div> |
---|
[157] | 852 | <div class="caution" style= |
---|
| 853 | "margin-left: 0.5in; margin-right: 0.5in;"> |
---|
| 854 | <h3 class="title">Caution</h3> |
---|
| 855 | <p>Careful, a selected option remains selected until it is |
---|
[184] | 856 | re-clicked.</p> |
---|
[144] | 857 | </div> |
---|
[157] | 858 | </div> |
---|
[177] | 859 | </div> |
---|
| 860 | <div class="sect2" lang="en"> |
---|
[144] | 861 | <div class="titlepage"> |
---|
| 862 | <div> |
---|
| 863 | <div> |
---|
[177] | 864 | <h3 class="title"><a name="oktxt" id="oktxt"></a>2.3. OK |
---|
| 865 | button</h3> |
---|
[144] | 866 | </div> |
---|
| 867 | </div> |
---|
| 868 | </div> |
---|
[184] | 869 | <p>Click on this <span class="guibutton">OK</span> button is |
---|
[149] | 870 | required to make a new plot appear</p> |
---|
[144] | 871 | </div> |
---|
[177] | 872 | <div class="sect2" lang="en"> |
---|
[149] | 873 | <div class="titlepage"> |
---|
| 874 | <div> |
---|
| 875 | <div> |
---|
[177] | 876 | <h3 class="title"><a name="pagelayouttxt" id= |
---|
| 877 | "pagelayouttxt"></a>2.4. Page Layout</h3> |
---|
[144] | 878 | </div> |
---|
[149] | 879 | </div> |
---|
| 880 | </div> |
---|
[184] | 881 | <p>Specify the number of columns and rows for plots on the sheet of |
---|
[149] | 882 | paper.</p> |
---|
| 883 | <div class="figure"><a name="fig_xxx_0206" id="fig_xxx_0206"></a> |
---|
[157] | 884 | <p class="title"><b>Figure 9. Number of Column</b></p> |
---|
[189] | 885 | <div class="figure-contents"><img src="figpng/xxx_0206.png" alt= |
---|
| 886 | "Number of Column"></div> |
---|
[149] | 887 | </div> |
---|
[157] | 888 | <p><br class="figure-break"></p> |
---|
| 889 | <div class="figure"><a name="fig_xxx_0206a" id="fig_xxx_0206a"></a> |
---|
[184] | 890 | <p class="title"><b>Figure 10. Example: For 2 columns and |
---|
| 891 | 2 rows</b></p> |
---|
[189] | 892 | <div class="figure-contents"><img src="figpng/xxx_0206a.png" alt= |
---|
[184] | 893 | "Example: For 2 columns and 2 rows"></div> |
---|
[149] | 894 | </div> |
---|
| 895 | <p><br class="figure-break"></p> |
---|
| 896 | </div> |
---|
[177] | 897 | <div class="sect2" lang="en"> |
---|
[149] | 898 | <div class="titlepage"> |
---|
| 899 | <div> |
---|
| 900 | <div> |
---|
[177] | 901 | <h3 class="title"><a name="variableslisttxt" id= |
---|
| 902 | "variableslisttxt"></a>2.5. <span class="guimenuitem">List of |
---|
| 903 | variables</span></h3> |
---|
[149] | 904 | </div> |
---|
| 905 | </div> |
---|
| 906 | </div> |
---|
[184] | 907 | <p>You can choose the variable to work on.</p> |
---|
[149] | 908 | <div class="figure"><a name="fig_xxx_0207" id="fig_xxx_0207"></a> |
---|
[184] | 909 | <p class="title"><b>Figure 11. Example of different |
---|
| 910 | Variables available</b></p> |
---|
[189] | 911 | <div class="figure-contents"><img src="figpng/xxx_0207.png" alt= |
---|
[184] | 912 | "Example of different Variables available"></div> |
---|
[149] | 913 | </div> |
---|
| 914 | <p><br class="figure-break"></p> |
---|
| 915 | </div> |
---|
[177] | 916 | <div class="sect2" lang="en"> |
---|
[149] | 917 | <div class="titlepage"> |
---|
| 918 | <div> |
---|
| 919 | <div> |
---|
[177] | 920 | <h3 class="title"><a name="fileslisttxt" id= |
---|
| 921 | "fileslisttxt"></a>2.6. <span class="guimenuitem">List of open |
---|
| 922 | files</span></h3> |
---|
[149] | 923 | </div> |
---|
| 924 | </div> |
---|
| 925 | </div> |
---|
[184] | 926 | <p>You can choose the file to work on.</p> |
---|
[149] | 927 | <div class="figure"><a name="fig_xxx_0208" id="fig_xxx_0208"></a> |
---|
[177] | 928 | <p class="title"><b>Figure 12. Example of list of open |
---|
| 929 | files</b></p> |
---|
[189] | 930 | <div class="figure-contents"><img src="figpng/xxx_0208.png" alt= |
---|
[177] | 931 | "Example of list of open files"></div> |
---|
[149] | 932 | </div> |
---|
| 933 | <p><br class="figure-break"></p> |
---|
| 934 | </div> |
---|
[177] | 935 | <div class="sect2" lang="en"> |
---|
[149] | 936 | <div class="titlepage"> |
---|
| 937 | <div> |
---|
| 938 | <div> |
---|
[177] | 939 | <h3 class="title"><a name="commandtexttxt" id= |
---|
| 940 | "commandtexttxt"></a>2.7. <span class="guimenuitem">Command |
---|
| 941 | text</span></h3> |
---|
[149] | 942 | </div> |
---|
| 943 | </div> |
---|
| 944 | </div> |
---|
[177] | 945 | <p>To specify in the widget part number 7 the computation you want |
---|
| 946 | to do on the data</p> |
---|
| 947 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> |
---|
| 948 | <h3 class="title">Note</h3> |
---|
[184] | 949 | <p>In all cases bellow, the name given to a field (a, b, c, |
---|
| 950 | …) is of no importance.</p> |
---|
[157] | 951 | </div> |
---|
[177] | 952 | <div class="sect3" lang="en"> |
---|
[157] | 953 | <div class="titlepage"> |
---|
| 954 | <div> |
---|
| 955 | <div> |
---|
[177] | 956 | <h4 class="title"><a name="commandtext1" id= |
---|
| 957 | "commandtext1"></a>2.7.1. <span class="guimenuitem">Linear |
---|
| 958 | calculation</span></h4> |
---|
[157] | 959 | </div> |
---|
| 960 | </div> |
---|
| 961 | </div> |
---|
[177] | 962 | <p>If you want to make basic linear computation (like difference |
---|
[184] | 963 | between fields, add/multiply by a constant …). you can |
---|
| 964 | simply put the following commands:</p> |
---|
[177] | 965 | <pre class="screen"> |
---|
| 966 | a - b |
---|
| 967 | </pre> |
---|
| 968 | <pre class="screen"> |
---|
| 969 | numb1*a |
---|
| 970 | </pre> |
---|
| 971 | <pre class="screen"> |
---|
| 972 | a + numb |
---|
| 973 | </pre> |
---|
| 974 | <p>or any command with the following format</p> |
---|
| 975 | <pre class="screen"> |
---|
[184] | 976 | numb1*a + numb2*b + numb3*c … + numb |
---|
[177] | 977 | </pre> |
---|
[184] | 978 | <p>where numb1, numb2, … correspond to numbers and a, b, c |
---|
| 979 | … will be the data to read.</p> |
---|
[157] | 980 | </div> |
---|
[177] | 981 | <div class="sect3" lang="en"> |
---|
[157] | 982 | <div class="titlepage"> |
---|
| 983 | <div> |
---|
| 984 | <div> |
---|
[177] | 985 | <h4 class="title"><a name="commandtext1" id= |
---|
| 986 | "commandtext1"></a>2.7.2. <span class="guimenuitem">Any kind |
---|
[184] | 987 | of computation</span></h4> |
---|
[157] | 988 | </div> |
---|
| 989 | </div> |
---|
| 990 | </div> |
---|
[177] | 991 | <p>If you want to make a computation more complicated than a basic |
---|
[184] | 992 | linear you must put designate the data you want to read between |
---|
| 993 | <span><strong class="keycap">"</strong></span><span><strong class= |
---|
| 994 | "keycap">"</strong></span> (with anything in between the "). For |
---|
| 995 | example:</p> |
---|
[177] | 996 | <pre class="screen"> |
---|
| 997 | "a"^2 |
---|
| 998 | </pre> |
---|
| 999 | <pre class="screen"> |
---|
| 1000 | "a" - abs("b") |
---|
| 1001 | </pre> |
---|
| 1002 | <pre class="screen"> |
---|
| 1003 | grad("a", 'x') |
---|
| 1004 | </pre> |
---|
[184] | 1005 | <p>…</p> |
---|
[157] | 1006 | </div> |
---|
| 1007 | </div> |
---|
[177] | 1008 | <div class="sect2" lang="en"> |
---|
[144] | 1009 | <div class="titlepage"> |
---|
| 1010 | <div> |
---|
| 1011 | <div> |
---|
[177] | 1012 | <h3 class="title"><a name="calendartxt" id= |
---|
| 1013 | "calendartxt"></a>2.8. Calendar</h3> |
---|
[144] | 1014 | </div> |
---|
| 1015 | </div> |
---|
| 1016 | </div> |
---|
[184] | 1017 | <p>The calendar is made up of two drop-lists, which allow |
---|
[144] | 1018 | specification of two dates, the beginning and end of a time series, |
---|
| 1019 | or the period over which to average before plotting.</p> |
---|
[157] | 1020 | <div class="figure"><a name="fig_xxx_0301" id="fig_xxx_0301"></a> |
---|
[177] | 1021 | <p class="title"><b>Figure 13. Example: first plot in |
---|
| 1022 | January, second plot is from January to December</b></p> |
---|
[189] | 1023 | <div class="figure-contents"><img src="figpng/xxx_0301.png" alt= |
---|
[177] | 1024 | "Example: first plot in January, second plot is from January to December"></div> |
---|
[144] | 1025 | </div> |
---|
[157] | 1026 | <p><br class="figure-break"></p> |
---|
| 1027 | </div> |
---|
[177] | 1028 | <div class="sect2" lang="en"> |
---|
[144] | 1029 | <div class="titlepage"> |
---|
| 1030 | <div> |
---|
| 1031 | <div> |
---|
[177] | 1032 | <h3 class="title"><a name="domdeftxt" id= |
---|
| 1033 | "domdeftxt"></a>2.9. Define the domain</h3> |
---|
[144] | 1034 | </div> |
---|
| 1035 | </div> |
---|
| 1036 | </div> |
---|
| 1037 | <p>A series of widgets that allow specification of the min/max |
---|
| 1038 | limits of the domain in longitude/x-index, latitude/y-index, and |
---|
[177] | 1039 | depth in levels or meters.</p> |
---|
[157] | 1040 | <div class="figure"><a name="fig_xxx_0210" id="fig_xxx_0210"></a> |
---|
[177] | 1041 | <p class="title"><b>Figure 14. Domain by default</b></p> |
---|
[189] | 1042 | <div class="figure-contents"><img src="figpng/xxx_0210.png" alt= |
---|
| 1043 | "Domain by default"></div> |
---|
[157] | 1044 | </div> |
---|
| 1045 | <p><br class="figure-break"></p> |
---|
| 1046 | <div class="figure"><a name="fig_xxx_0401" id="fig_xxx_0401"></a> |
---|
[177] | 1047 | <p class="title"><b>Figure 15. Change Domain area: zoom |
---|
| 1048 | on Oceania</b></p> |
---|
[189] | 1049 | <div class="figure-contents"><img src="figpng/xxx_0401.png" alt= |
---|
[177] | 1050 | "Change Domain area: zoom on Oceania"></div> |
---|
[144] | 1051 | </div> |
---|
[157] | 1052 | <p><br class="figure-break"></p> |
---|
| 1053 | <div class="figure"><a name="fig_xxx_0402" id="fig_xxx_0402"></a> |
---|
[177] | 1054 | <p class="title"><b>Figure 16. This configuration give |
---|
| 1055 | us:</b></p> |
---|
[189] | 1056 | <div class="figure-contents"><img src="figpng/xxx_0402.png" alt= |
---|
[177] | 1057 | "This configuration give us:"></div> |
---|
[144] | 1058 | </div> |
---|
[157] | 1059 | <p><br class="figure-break"></p> |
---|
| 1060 | <div class="figure"><a name="fig_xxx_0403" id="fig_xxx_0403"></a> |
---|
[177] | 1061 | <p class="title"><b>Figure 17. Change depth area: between |
---|
| 1062 | depth 125 and 126</b></p> |
---|
[189] | 1063 | <div class="figure-contents"><img src="figpng/xxx_0403.png" alt= |
---|
[177] | 1064 | "Change depth area: between depth 125 and 126"></div> |
---|
[157] | 1065 | </div> |
---|
| 1066 | <p><br class="figure-break"></p> |
---|
| 1067 | <div class="figure"><a name="fig_xxx_0404" id="fig_xxx_0404"></a> |
---|
[177] | 1068 | <p class="title"><b>Figure 18. temperature of the ocean |
---|
| 1069 | at depth 125 meters without proper land/sea mask</b></p> |
---|
[189] | 1070 | <div class="figure-contents"><img src="figpng/xxx_0404.png" alt= |
---|
[177] | 1071 | "temperature of the ocean at depth 125 meters without proper land/sea mask"></div> |
---|
[157] | 1072 | </div> |
---|
[177] | 1073 | <p><br class="figure-break"> |
---|
| 1074 | As you can see, at this depth, we better define a land/sea mask |
---|
| 1075 | when loading the grid. Cf <a href="#fig_xxx_0103" title= |
---|
[184] | 1076 | "Figure 3. Oceania at 125 meters of depth with proper grid initialization"> |
---|
| 1077 | Figure 3, “Oceania at 125 meters of depth with proper |
---|
[177] | 1078 | grid initialization”</a></p> |
---|
[157] | 1079 | </div> |
---|
[177] | 1080 | <div class="sect2" lang="en"> |
---|
[144] | 1081 | <div class="titlepage"> |
---|
| 1082 | <div> |
---|
| 1083 | <div> |
---|
[177] | 1084 | <h3 class="title"><a name="specificationstxt" id= |
---|
[184] | 1085 | "specificationstxt"></a>2.10. Specify your plot</h3> |
---|
[144] | 1086 | </div> |
---|
| 1087 | </div> |
---|
| 1088 | </div> |
---|
[177] | 1089 | <div class="sect3" lang="en"> |
---|
[157] | 1090 | <div class="titlepage"> |
---|
| 1091 | <div> |
---|
| 1092 | <div> |
---|
[177] | 1093 | <h4 class="title"><a name="minmaxintervaltxt" id= |
---|
| 1094 | "minmaxintervaltxt"></a>2.10.1. <span class= |
---|
| 1095 | "guimenuitem">Specify min, max and contour interval</span></h4> |
---|
[144] | 1096 | </div> |
---|
| 1097 | </div> |
---|
| 1098 | </div> |
---|
[157] | 1099 | <div class="figure"><a name="fig_xxx_0501" id="fig_xxx_0501"></a> |
---|
[177] | 1100 | <p class="title"><b>Figure 19. min, max, and contour |
---|
| 1101 | interval specifications</b></p> |
---|
[189] | 1102 | <div class="figure-contents"><img src="figpng/xxx_0501.png" alt= |
---|
[177] | 1103 | "min, max, and contour interval specifications"></div> |
---|
[144] | 1104 | </div> |
---|
[177] | 1105 | <p><br class="figure-break"> |
---|
[184] | 1106 | You can restore configuration by default by pressing the |
---|
| 1107 | <span class="guibutton">Default</span> button.</p> |
---|
[177] | 1108 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> |
---|
| 1109 | <h3 class="title">Note</h3> |
---|
| 1110 | <p>The path of the file <a href= |
---|
[189] | 1111 | "../../ToBeReviewed/WIDGET/AUTOUR_de_XXX/definedefaultextra.pro" |
---|
[177] | 1112 | target="_top"><code class= |
---|
| 1113 | "filename">definedefaultextra.pro</code></a> that defines the |
---|
| 1114 | default values for each variable names is displayed when the cursor |
---|
[184] | 1115 | hovers over the button <span class="guibutton">Default</span>. This |
---|
| 1116 | file contains a case statement based on the name of the variable |
---|
| 1117 | and defining the min, max, contour interval and other keywords that |
---|
| 1118 | should be used as default for the specified variable. You can copy |
---|
| 1119 | this file in your own <code class="filename"><code class= |
---|
[177] | 1120 | "envar">${HOME}</code>/My_IDL/</code> directory and easily modify |
---|
| 1121 | it to suit your favorite default values.</p> |
---|
[144] | 1122 | </div> |
---|
[177] | 1123 | </div> |
---|
| 1124 | <div class="sect3" lang="en"> |
---|
[144] | 1125 | <div class="titlepage"> |
---|
| 1126 | <div> |
---|
| 1127 | <div> |
---|
[177] | 1128 | <h4 class="title"><a name="colortxt" id= |
---|
| 1129 | "colortxt"></a>2.10.2. <span class="guimenuitem">Specify the |
---|
| 1130 | palette to be used</span></h4> |
---|
[144] | 1131 | </div> |
---|
| 1132 | </div> |
---|
| 1133 | </div> |
---|
[157] | 1134 | <p>For the color palette, you can either specify the name or go |
---|
| 1135 | search for one among the palettes available.</p> |
---|
| 1136 | <div class="figure"><a name="fig_xxx_0502" id="fig_xxx_0502"></a> |
---|
[177] | 1137 | <p class="title"><b>Figure 20. The Color menu</b></p> |
---|
[189] | 1138 | <div class="figure-contents"><img src="figpng/xxx_0502.png" alt= |
---|
| 1139 | "The Color menu"></div> |
---|
[144] | 1140 | </div> |
---|
[157] | 1141 | <p><br class="figure-break"></p> |
---|
| 1142 | </div> |
---|
[177] | 1143 | <div class="sect3" lang="en"> |
---|
| 1144 | <div class="titlepage"> |
---|
| 1145 | <div> |
---|
| 1146 | <div> |
---|
| 1147 | <h4 class="title"><a name="kwdtxt" id= |
---|
| 1148 | "kwdtxt"></a>2.10.3. <span class="guimenuitem">Add any |
---|
| 1149 | keyword</span></h4> |
---|
| 1150 | </div> |
---|
| 1151 | </div> |
---|
| 1152 | </div> |
---|
[184] | 1153 | <p>The “<span class="quote">keywords</span>” window |
---|
| 1154 | allows specification of all desired keywords. There is a few |
---|
| 1155 | examples of the use of this “<span class= |
---|
| 1156 | "quote">keywords</span>” window.</p> |
---|
[177] | 1157 | <div class="figure"><a name="fig_xxx_0209" id="fig_xxx_0209"></a> |
---|
| 1158 | <p class="title"><b>Figure 21. Without any additional |
---|
| 1159 | keyword</b></p> |
---|
[189] | 1160 | <div class="figure-contents"><img src="figpng/xxx_0209.png" alt= |
---|
[177] | 1161 | "Without any additional keyword"></div> |
---|
[157] | 1162 | </div> |
---|
[177] | 1163 | <p><br class="figure-break"></p> |
---|
| 1164 | <div class="figure"><a name="fig_xxx_0210a" id="fig_xxx_0210a"></a> |
---|
[184] | 1165 | <p class="title"><b>Figure 22. Add <code class= |
---|
| 1166 | "varname">/realcont</code> keyword</b></p> |
---|
[189] | 1167 | <div class="figure-contents"><img src="figpng/xxx_0210a.png" alt= |
---|
[184] | 1168 | "Add /realcont keyword"></div> |
---|
[157] | 1169 | </div> |
---|
[177] | 1170 | <p><br class="figure-break"></p> |
---|
| 1171 | <div class="figure"><a name="fig_xxx_0210" id="fig_xxx_0210"></a> |
---|
[184] | 1172 | <p class="title"><b>Figure 23. Graphic with <code class= |
---|
| 1173 | "varname">/realcont</code> keyword</b></p> |
---|
[189] | 1174 | <div class="figure-contents"><img src="figpng/xxx_0210.png" alt= |
---|
[184] | 1175 | "Graphic with /realcont keyword"></div> |
---|
[157] | 1176 | </div> |
---|
[177] | 1177 | <p><br class="figure-break"></p> |
---|
| 1178 | <div class="figure"><a name="fig_xxx_0211a" id="fig_xxx_0211a"></a> |
---|
[184] | 1179 | <p class="title"><b>Figure 24. Add <code class= |
---|
| 1180 | "userinput">/realcont, map=[90,0,0], /ortho, cell_fill=2</code> |
---|
| 1181 | keywords</b></p> |
---|
[189] | 1182 | <div class="figure-contents"><img src="figpng/xxx_0211a.png" alt= |
---|
[184] | 1183 | "Add /realcont, map=[90,0,0], /ortho, cell_fill=2 keywords"></div> |
---|
[177] | 1184 | </div> |
---|
| 1185 | <p><br class="figure-break"></p> |
---|
| 1186 | <div class="figure"><a name="fig_xxx_0211" id="fig_xxx_0211"></a> |
---|
[184] | 1187 | <p class="title"><b>Figure 25. Graphic with <code class= |
---|
| 1188 | "literal">/realcont, map=[90,0,0], /ortho, cell_fill=2</code> |
---|
| 1189 | keywords</b></p> |
---|
[189] | 1190 | <div class="figure-contents"><img src="figpng/xxx_0211.png" alt= |
---|
[184] | 1191 | "Graphic with /realcont, map=[90,0,0], /ortho, cell_fill=2 keywords"></div> |
---|
[177] | 1192 | </div> |
---|
| 1193 | <p><br class="figure-break"></p> |
---|
| 1194 | </div> |
---|
| 1195 | </div> |
---|
| 1196 | </div> |
---|
[157] | 1197 | <div class="sect1" lang="en"> |
---|
| 1198 | <div class="titlepage"> |
---|
| 1199 | <div> |
---|
| 1200 | <div> |
---|
| 1201 | <h2 class="title" style="clear: both"><a name="mouseactions" id= |
---|
[177] | 1202 | "mouseactions"></a>3. Mouse Actions</h2> |
---|
[157] | 1203 | </div> |
---|
| 1204 | </div> |
---|
| 1205 | </div> |
---|
[144] | 1206 | <div class="sect2" lang="en"> |
---|
| 1207 | <div class="titlepage"> |
---|
| 1208 | <div> |
---|
| 1209 | <div> |
---|
[177] | 1210 | <h3 class="title"><a name="mouse" id="mouse"></a>3.1. In the |
---|
[157] | 1211 | graphics window on a horizontal plot</h3> |
---|
[144] | 1212 | </div> |
---|
| 1213 | </div> |
---|
| 1214 | </div> |
---|
| 1215 | <p>Select a domain and select the horizontal plot (<code class= |
---|
| 1216 | "constant">plt</code>), vertical plot (<code class= |
---|
| 1217 | "constant">pltz</code>), or the hovmoeller plot (<code class= |
---|
| 1218 | "constant">pltt</code>):</p> |
---|
| 1219 | <p>The domain we'd like to select for the plot is determined by one |
---|
| 1220 | of its diagonals, defined therefore by two points. The first point |
---|
| 1221 | is defined when the mouse button is pushed, then the mouse is |
---|
| 1222 | moved, and the second point is defined as the mouse button is |
---|
| 1223 | released (click-drag). The domains are thus defined by a long click |
---|
| 1224 | (<abbr class="abbrev">LC</abbr>). To determine which type of plot |
---|
| 1225 | should be made of selection, use:</p> |
---|
[149] | 1226 | <p>If the plot selector is on <code class="constant">plt</code></p> |
---|
| 1227 | <div class="itemizedlist"> |
---|
| 1228 | <ul type="disc"> |
---|
| 1229 | <li> |
---|
[184] | 1230 | <p>the <span class="mousebutton">left</span> mouse button to create |
---|
| 1231 | horizontal plots (<code class="constant">plt</code>)</p> |
---|
[149] | 1232 | </li> |
---|
| 1233 | <li> |
---|
[184] | 1234 | <p>the <span class="mousebutton">middle</span> mouse button to |
---|
| 1235 | create vertical plots (<code class="constant">pltz</code>)</p> |
---|
[149] | 1236 | </li> |
---|
| 1237 | <li> |
---|
[184] | 1238 | <p>the <span class="mousebutton">right</span> mouse button to |
---|
| 1239 | create common hovmoellers for xt and yt cuts (<code class= |
---|
| 1240 | "constant">pltt</code>)</p> |
---|
[149] | 1241 | </li> |
---|
| 1242 | </ul> |
---|
[144] | 1243 | </div> |
---|
[149] | 1244 | <p>In summary:</p> |
---|
| 1245 | <div class="itemizedlist"> |
---|
| 1246 | <ul type="disc"> |
---|
| 1247 | <li> |
---|
| 1248 | <div class="figure"><a name="fig_mousell" id="fig_mousell"></a> |
---|
[177] | 1249 | <p class="title"><b>Figure 26. <abbr class= |
---|
[149] | 1250 | "abbrev">LCL</abbr>---><code class="constant">plt</code></b></p> |
---|
| 1251 | <div class="figure-contents"> |
---|
[184] | 1252 | <div class="mediaobjectco"><img border="0" usemap="d0e1098" src= |
---|
[189] | 1253 | "figpng/xxx_mousell.png" alt="LCL--->plt"><map name="d0e1098" |
---|
| 1254 | id="d0e1098"></map></div> |
---|
[144] | 1255 | </div> |
---|
[149] | 1256 | </div> |
---|
| 1257 | <p><br class="figure-break"></p> |
---|
[157] | 1258 | <div class="figure"><a name="fig_xxx_0701" id="fig_xxx_0701"></a> |
---|
[177] | 1259 | <p class="title"><b>Figure 27. Horizontal Plot</b></p> |
---|
[189] | 1260 | <div class="figure-contents"><img src="figpng/xxx_0701.png" alt= |
---|
| 1261 | "Horizontal Plot"></div> |
---|
[157] | 1262 | </div> |
---|
| 1263 | <p><br class="figure-break"></p> |
---|
[149] | 1264 | </li> |
---|
| 1265 | <li> |
---|
| 1266 | <div class="figure"><a name="fig_mouselm" id="fig_mouselm"></a> |
---|
[177] | 1267 | <p class="title"><b>Figure 28. <abbr class= |
---|
[149] | 1268 | "abbrev">LCM</abbr>---><code class= |
---|
| 1269 | "constant">pltz</code></b></p> |
---|
| 1270 | <div class="figure-contents"> |
---|
[184] | 1271 | <div class="mediaobjectco"><img border="0" usemap="d0e1122" src= |
---|
[189] | 1272 | "figpng/xxx_mouselm.png" alt="LCM--->pltz"><map name="d0e1122" |
---|
| 1273 | id="d0e1122"></map></div> |
---|
[149] | 1274 | </div> |
---|
| 1275 | </div> |
---|
| 1276 | <p><br class="figure-break"></p> |
---|
[157] | 1277 | <div class="figure"><a name="fig_xxx_0702" id="fig_xxx_0702"></a> |
---|
[177] | 1278 | <p class="title"><b>Figure 29. Vertical Plot</b></p> |
---|
[189] | 1279 | <div class="figure-contents"><img src="figpng/xxx_0702.png" alt= |
---|
| 1280 | "Vertical Plot"></div> |
---|
[157] | 1281 | </div> |
---|
| 1282 | <p><br class="figure-break"></p> |
---|
[149] | 1283 | </li> |
---|
| 1284 | <li> |
---|
| 1285 | <div class="figure"><a name="fig_mouselr" id="fig_mouselr"></a> |
---|
[177] | 1286 | <p class="title"><b>Figure 30. <abbr class= |
---|
[149] | 1287 | "abbrev">LCR</abbr>---><code class= |
---|
| 1288 | "constant">pltt</code></b></p> |
---|
| 1289 | <div class="figure-contents"> |
---|
[184] | 1290 | <div class="mediaobjectco"><img border="0" usemap="d0e1146" src= |
---|
[189] | 1291 | "figpng/xxx_mouselr.png" alt="LCR--->pltt"><map name="d0e1146" |
---|
| 1292 | id="d0e1146"></map></div> |
---|
[149] | 1293 | </div> |
---|
| 1294 | </div> |
---|
| 1295 | <p><br class="figure-break"></p> |
---|
[157] | 1296 | <div class="figure"><a name="fig_xxx_0703" id="fig_xxx_0703"></a> |
---|
[177] | 1297 | <p class="title"><b>Figure 31. Common hovmoeller for xt |
---|
[157] | 1298 | and yt cuts</b></p> |
---|
[189] | 1299 | <div class="figure-contents"><img src="figpng/xxx_0703.png" alt= |
---|
[157] | 1300 | "Common hovmoeller for xt and yt cuts"></div> |
---|
| 1301 | </div> |
---|
| 1302 | <p><br class="figure-break"></p> |
---|
[149] | 1303 | </li> |
---|
| 1304 | </ul> |
---|
| 1305 | </div> |
---|
| 1306 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> |
---|
| 1307 | <h3 class="title">Note</h3> |
---|
| 1308 | <p>If the plot selector is on something other than <code class= |
---|
| 1309 | "constant">plt</code> the indicated plot type is made.</p> |
---|
| 1310 | </div> |
---|
| 1311 | </div> |
---|
[144] | 1312 | <div class="sect2" lang="en"> |
---|
| 1313 | <div class="titlepage"> |
---|
| 1314 | <div> |
---|
| 1315 | <div> |
---|
| 1316 | <h3 class="title"><a name="multipleplots" id= |
---|
[177] | 1317 | "multipleplots"></a>3.2. Create multiple plots on the same |
---|
[144] | 1318 | sheet and make them interact</h3> |
---|
| 1319 | </div> |
---|
| 1320 | </div> |
---|
| 1321 | </div> |
---|
| 1322 | <p>Select the number of columns and rows for the page.</p> |
---|
| 1323 | <p>Create a first plot. It will appear in the first frame.</p> |
---|
| 1324 | <p>To create a plot in another frame double-click in the frame with |
---|
[184] | 1325 | the <span class="mousebutton">middle</span> button (<abbr class= |
---|
| 1326 | "abbrev"><span class="mousebutton">DCM</span></abbr>). A black |
---|
| 1327 | dotted frame will surround the designated frame, the |
---|
| 1328 | “<span class="quote">target</span>” frame. A black |
---|
| 1329 | frame will surround the first plot. This is the “<span class= |
---|
[144] | 1330 | "quote">reference</span>” frame, in other words the one that |
---|
| 1331 | all the XXX widgets refer to. Change for example the date and |
---|
[184] | 1332 | create a new plot. With a <span class="mousebutton">left</span> |
---|
| 1333 | button double-click in the first frame, all the widgets change and |
---|
| 1334 | refer again to the first plot. A double-click with the <span class= |
---|
| 1335 | "mousebutton">right</span> button in the second frame will erase |
---|
[144] | 1336 | the plot.</p> |
---|
[149] | 1337 | <p>In summary:</p> |
---|
| 1338 | <div class="itemizedlist"> |
---|
| 1339 | <ul type="disc"> |
---|
| 1340 | <li> |
---|
| 1341 | <div class="figure"><a name="fig_mousedl" id="fig_mousedl"></a> |
---|
[177] | 1342 | <p class="title"><b>Figure 32. <abbr class= |
---|
[144] | 1343 | "abbrev">DCL</abbr>--->“<span class= |
---|
[149] | 1344 | "quote">reference</span>” frame</b></p> |
---|
| 1345 | <div class="figure-contents"> |
---|
[184] | 1346 | <div class="mediaobjectco"><img border="0" usemap="d0e1210" src= |
---|
[189] | 1347 | "figpng/xxx_mousedl.png" alt="DCL--->reference frame"><map name= |
---|
| 1348 | "d0e1210" id="d0e1210"></map></div> |
---|
[149] | 1349 | </div> |
---|
| 1350 | </div> |
---|
| 1351 | <p><br class="figure-break"></p> |
---|
[157] | 1352 | <div class="figure"><a name="fig_xxx_0801" id="fig_xxx_0801"></a> |
---|
[177] | 1353 | <p class="title"><b>Figure 33. The reference frame is |
---|
[157] | 1354 | selected</b></p> |
---|
[189] | 1355 | <div class="figure-contents"><img src="figpng/xxx_0801.png" alt= |
---|
[157] | 1356 | "The reference frame is selected"></div> |
---|
| 1357 | </div> |
---|
| 1358 | <p><br class="figure-break"></p> |
---|
[149] | 1359 | </li> |
---|
| 1360 | <li> |
---|
| 1361 | <div class="figure"><a name="fig_mousedm" id="fig_mousedm"></a> |
---|
[177] | 1362 | <p class="title"><b>Figure 34. <abbr class= |
---|
[149] | 1363 | "abbrev">DCM</abbr>--->“<span class= |
---|
| 1364 | "quote">target</span>” frame</b></p> |
---|
| 1365 | <div class="figure-contents"> |
---|
[184] | 1366 | <div class="mediaobjectco"><img border="0" usemap="d0e1235" src= |
---|
[189] | 1367 | "figpng/xxx_mousedm.png" alt="DCM--->target frame"><map name= |
---|
| 1368 | "d0e1235" id="d0e1235"></map></div> |
---|
[149] | 1369 | </div> |
---|
| 1370 | </div> |
---|
| 1371 | <p><br class="figure-break"></p> |
---|
[157] | 1372 | <div class="figure"><a name="fig_xxx_0802" id="fig_xxx_0802"></a> |
---|
[177] | 1373 | <p class="title"><b>Figure 35. The target frame is |
---|
[157] | 1374 | selected</b></p> |
---|
[189] | 1375 | <div class="figure-contents"><img src="figpng/xxx_0802.png" alt= |
---|
[157] | 1376 | "The target frame is selected"></div> |
---|
| 1377 | </div> |
---|
| 1378 | <p><br class="figure-break"></p> |
---|
[149] | 1379 | </li> |
---|
| 1380 | <li> |
---|
| 1381 | <div class="figure"><a name="fig_mousedr" id="fig_mousedr"></a> |
---|
[177] | 1382 | <p class="title"><b>Figure 36. <abbr class= |
---|
[149] | 1383 | "abbrev">DCR</abbr>--->erase the frame</b></p> |
---|
| 1384 | <div class="figure-contents"> |
---|
[184] | 1385 | <div class="mediaobjectco"><img border="0" usemap="d0e1257" src= |
---|
[189] | 1386 | "figpng/xxx_mousedr.png" alt="DCR--->erase the frame"><map name= |
---|
| 1387 | "d0e1257" id="d0e1257"></map></div> |
---|
[149] | 1388 | </div> |
---|
| 1389 | </div> |
---|
| 1390 | <p><br class="figure-break"></p> |
---|
| 1391 | </li> |
---|
| 1392 | </ul> |
---|
| 1393 | </div> |
---|
[144] | 1394 | <p>Here's a series of commands to show how this works.</p> |
---|
| 1395 | <div class="procedure"> |
---|
| 1396 | <ol type="1"> |
---|
| 1397 | <li> |
---|
[177] | 1398 | <p>load xxx with the command:</p> |
---|
| 1399 | <pre class="screen"> |
---|
| 1400 | <code class="prompt">idl></code> <strong class= |
---|
| 1401 | "userinput"><code><span><strong class= |
---|
| 1402 | "command">xxx</strong></span>, <em class= |
---|
| 1403 | "parameter"><code>'Levitus98_1m_01_12_Temperature_Pot_ORCA05.nc'</code></em>, <em class="parameter"><code>'tst_initorca05'</code></em></code></strong> |
---|
| 1404 | |
---|
| 1405 | </pre></li> |
---|
| 1406 | <li> |
---|
[144] | 1407 | <p>Select a 3-D field and create 6 frames for the sheet of |
---|
| 1408 | paper.</p> |
---|
| 1409 | </li> |
---|
| 1410 | <li> |
---|
| 1411 | <p>Create a horizontal plot in Frame 1</p> |
---|
| 1412 | </li> |
---|
| 1413 | <li> |
---|
| 1414 | <p><abbr class="abbrev">DCM</abbr> in frame 2, <abbr class= |
---|
| 1415 | "abbrev">LCL</abbr> on the plot in frame 1, to create a horizontal |
---|
| 1416 | zoom in frame 2.</p> |
---|
| 1417 | <p><abbr class="abbrev">DCM</abbr> in frame 3, <abbr class= |
---|
| 1418 | "abbrev">LCM</abbr> on the plot in frame 1, to create a vertical |
---|
| 1419 | cut in frame 3.</p> |
---|
| 1420 | <p><abbr class="abbrev">DCM</abbr> in frame 4, <abbr class= |
---|
| 1421 | "abbrev">LCR</abbr> on the plot in frame 1, to create a hovmoeller |
---|
| 1422 | in frame 4.</p> |
---|
[157] | 1423 | <div class="figure"><a name="fig_xxx_0901" id="fig_xxx_0901"></a> |
---|
[177] | 1424 | <p class="title"><b>Figure 37. Frame with four |
---|
[157] | 1425 | plot</b></p> |
---|
[189] | 1426 | <div class="figure-contents"><img src="figpng/xxx_0901.png" alt= |
---|
| 1427 | "Frame with four plot"></div> |
---|
[157] | 1428 | </div> |
---|
| 1429 | <p><br class="figure-break"></p> |
---|
[144] | 1430 | </li> |
---|
| 1431 | </ol> |
---|
| 1432 | </div> |
---|
| 1433 | <div class="procedure"> |
---|
| 1434 | <p>To redo the hovmoeller with the keyword</p> |
---|
| 1435 | <div class="literallayout"> |
---|
| 1436 | <p>/nocontour</p> |
---|
| 1437 | </div> |
---|
| 1438 | <ol type="1"> |
---|
| 1439 | <li> |
---|
| 1440 | <p><abbr class="abbrev">DCL</abbr> in frame 4 which now becomes the |
---|
| 1441 | reference and target frame.</p> |
---|
| 1442 | </li> |
---|
| 1443 | <li> |
---|
| 1444 | <p>Add the keyword</p> |
---|
| 1445 | <div class="literallayout"> |
---|
| 1446 | <p>/nocontour</p> |
---|
| 1447 | </div> |
---|
[157] | 1448 | <div class="figure"><a name="fig_xxx_0902a" id="fig_xxx_0902a"></a> |
---|
[177] | 1449 | <p class="title"><b>Figure 38. Command text area</b></p> |
---|
[189] | 1450 | <div class="figure-contents"><img src="figpng/xxx_0902a.png" alt= |
---|
| 1451 | "Command text area"></div> |
---|
[157] | 1452 | </div> |
---|
| 1453 | <p><br class="figure-break"></p> |
---|
[144] | 1454 | </li> |
---|
| 1455 | <li> |
---|
| 1456 | <p>click <span class="guibutton">OK</span>, and the plot is |
---|
| 1457 | redone.</p> |
---|
[157] | 1458 | <div class="figure"><a name="fig_xxx_0902" id="fig_xxx_0902"></a> |
---|
[177] | 1459 | <p class="title"><b>Figure 39. The fourth plot with the |
---|
[157] | 1460 | keyword "nocontour"</b></p> |
---|
[189] | 1461 | <div class="figure-contents"><img src="figpng/xxx_0902.png" alt= |
---|
[157] | 1462 | "The fourth plot with the keyword "nocontour""></div> |
---|
| 1463 | </div> |
---|
| 1464 | <p><br class="figure-break"></p> |
---|
[144] | 1465 | </li> |
---|
| 1466 | </ol> |
---|
| 1467 | </div> |
---|
| 1468 | <div class="procedure"> |
---|
[177] | 1469 | <p>in frame 5, let's create the same plot as in frame 2 except we |
---|
| 1470 | use pltv instead of plt</p> |
---|
[144] | 1471 | <ol type="1"> |
---|
| 1472 | <li> |
---|
| 1473 | <p><abbr class="abbrev">DCL</abbr> on frame 2</p> |
---|
| 1474 | </li> |
---|
| 1475 | <li> |
---|
| 1476 | <p><abbr class="abbrev">DCM</abbr> on frame 5</p> |
---|
| 1477 | </li> |
---|
| 1478 | <li> |
---|
[177] | 1479 | <p>change plt for pltv</p> |
---|
[144] | 1480 | </li> |
---|
| 1481 | <li> |
---|
[184] | 1482 | <p>Click on <span class="guibutton">OK</span></p> |
---|
[157] | 1483 | <div class="figure"><a name="fig_xxx_0903" id="fig_xxx_0903"></a> |
---|
[177] | 1484 | <p class="title"><b>Figure 40. Frame with five |
---|
[157] | 1485 | plot</b></p> |
---|
[189] | 1486 | <div class="figure-contents"><img src="figpng/xxx_0903.png" alt= |
---|
| 1487 | "Frame with five plot"></div> |
---|
[157] | 1488 | </div> |
---|
| 1489 | <p><br class="figure-break"></p> |
---|
[144] | 1490 | </li> |
---|
| 1491 | </ol> |
---|
| 1492 | </div> |
---|
| 1493 | </div> |
---|
| 1494 | </div> |
---|
| 1495 | <div class="sect1" lang="en"> |
---|
| 1496 | <div class="titlepage"> |
---|
| 1497 | <div> |
---|
| 1498 | <div> |
---|
| 1499 | <h2 class="title" style="clear: both"><a name="crash" id= |
---|
[177] | 1500 | "crash"></a>4. What should I do when it breakdown</h2> |
---|
[144] | 1501 | </div> |
---|
| 1502 | </div> |
---|
| 1503 | </div> |
---|
| 1504 | <div class="orderedlist"> |
---|
| 1505 | <ol type="1"> |
---|
| 1506 | <li> |
---|
[184] | 1507 | <p>In the IDL window type (as many time you click on a button since |
---|
[177] | 1508 | a problem occurs in xxx !!!),</p> |
---|
[144] | 1509 | <pre class="screen"> |
---|
| 1510 | <code class="prompt">idl></code> <strong class= |
---|
| 1511 | "userinput"><code>retall</code></strong> |
---|
| 1512 | </pre></li> |
---|
| 1513 | <li> |
---|
[177] | 1514 | <p>in the IDL window, type</p> |
---|
| 1515 | <pre class="screen"> |
---|
| 1516 | <code class="prompt">idl></code> <strong class= |
---|
| 1517 | "userinput"><code>domdef</code></strong> |
---|
| 1518 | </pre></li> |
---|
| 1519 | <li> |
---|
[157] | 1520 | <p><abbr class="abbrev">DCR</abbr> to erase the problem frame.</p> |
---|
[144] | 1521 | </li> |
---|
| 1522 | <li> |
---|
[157] | 1523 | <p>change the orientation of the plot by pressing Flag options |
---|
| 1524 | -> Portrait/Landscape. Cf <a href="#flagsubmenu" title= |
---|
[184] | 1525 | "2.2.3. Flag options sub-menu">Section 2.2.3, |
---|
[157] | 1526 | “<span class="guisubmenu">Flag options</span> |
---|
[184] | 1527 | sub-menu”</a></p> |
---|
[144] | 1528 | </li> |
---|
| 1529 | <li> |
---|
| 1530 | <p>quit XXX cleanly using <span class="guibutton">quit</span> from |
---|
[157] | 1531 | the <span class="guimenu">File</span> menu. Cf <a href= |
---|
[184] | 1532 | "#filesubmenu" title= |
---|
| 1533 | "2.2.1. File sub-menu">Section 2.2.1, “<span class= |
---|
| 1534 | "guisubmenu">File</span> sub-menu”</a></p> |
---|
[144] | 1535 | </li> |
---|
| 1536 | </ol> |
---|
| 1537 | </div> |
---|
| 1538 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> |
---|
| 1539 | <h3 class="title">Note</h3> |
---|
| 1540 | <p>Always avoid if at all possible closing and killing the XXX |
---|
| 1541 | window, but rather select <span class="guibutton">quit</span> from |
---|
| 1542 | the <span class="guimenu">File</span> menu. XXX uses a large number |
---|
[184] | 1543 | of pointers, and want only killing the window will leave a large |
---|
[144] | 1544 | number of unused variables in memory, which could in the end |
---|
| 1545 | overflow. To clean up this memory:</p> |
---|
| 1546 | <pre class="screen"> |
---|
| 1547 | <code class="prompt">idl></code> <strong class= |
---|
| 1548 | "userinput"><code>ptr_free, ptr_valid()</code></strong> |
---|
| 1549 | </pre></div> |
---|
| 1550 | </div> |
---|
| 1551 | </div> |
---|
| 1552 | </body> |
---|
| 1553 | </html> |
---|