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