source: trunk/SRC/Documentation/xmldoc/mini_notice.xml @ 255

Last change on this file since 255 was 255, checked in by pinsard, 17 years ago

saxon was replaced by xalan in makehtml.sh because of better results on callouts in HTML files produced for XML/DocBook files

  • Property svn:keywords set to Id
File size: 34.3 KB
Line 
1<?xml version='1.0' encoding='iso-8859-1'?>
2<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
4[
5<!ENTITY hellip "&#x2026;">
6<!ENTITY promptidl "idl&gt;">
7]
8>
9<!--
10
11./SAXO_DIR/SRC/Documentation/xmldoc/mini_notice.xml
12
13update :
14fplod 2006-07-20T08:45:14Z aedon.locean-ipsl.upmc.fr (Darwin)
15. creation by hand made migration from mini_notice.html to XML/Docbook
16. installation part has been removed
17. add images
18++ fake graphics callouts see forxxxdoc.sh
19
20-->
21<article lang="en">
22<title>
23Mini Guide for Basic Commands in the XXX Program
24</title>
25  <articleinfo>
26    <authorgroup>
27      <author><firstname>Sébastien</firstname><surname>Masson</surname><email>Sebastien.Masson_at_locean-ipsl.upmc.fr</email></author>
28      <author><firstname>Albert</firstname><surname>Fisher</surname></author>
29      <author><firstname>Françoise</firstname><surname>Pinsard</surname><email>Francoise.Pinsard_at_locean-ipsl.upmc.fr</email></author>
30      <author><firstname>Steve</firstname><surname>Navarro</surname></author>
31    </authorgroup>
32    <keywordset>
33      <keyword>IDL</keyword>
34      <keyword>SAXO</keyword>
35      <keyword>xxx</keyword>
36    </keywordset>
37    <revhistory>
38      <revision>
39        <revnumber>0.0</revnumber>
40        <date>May 29, 2000</date>
41        <revremark>French release by Sébastien Masson</revremark>
42      </revision>
43      <revision>
44        <revnumber>0.1</revnumber>
45        <date>July, 2002</date>
46        <revremark>Translation by Albert Fisher</revremark>
47      </revision>
48      <revision>
49        <revnumber>0.2</revnumber>
50        <date>July 20, 2006</date>
51        <revremark>HTML to XML/Docbook migration by Françoise Pinsard</revremark>
52      </revision>
53      <revision>
54        <revnumber>1.0</revnumber>
55        <date>August, 2006</date>
56        <revremark>Major update by Steve Navarro</revremark>
57      </revision>
58      <revision>
59        <revnumber>1.1</revnumber>
60        <date>September, 2006</date>
61        <revremark>Review by Sébastien Masson</revremark>
62      </revision>
63     </revhistory>
64     <pubdate>$Id$</pubdate>
65  </articleinfo>
66
67
68<sect1 id="launchxxx"><title>Launching XXX</title>
69
70<para>
71There is several ways to launch XXX which we will detail in the next sections:
72  <screen format="linespecific">
73    <prompt>&promptidl;</prompt> <userinput><command>xxx</command></userinput>
74    <prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>/separate</parameter></userinput>
75    <prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>restore = 'file.dat'</parameter></userinput>
76    <prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>'file.nc'</parameter></userinput>
77    <prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>'file.nc'</parameter>, <parameter>keywd1 = &hellip;</parameter>, <parameter>keywd2 = &hellip;</parameter></userinput>
78    <prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>'file.nc'</parameter>, <parameter>'initgrid'</parameter></userinput>
79    <prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>'file.nc'</parameter>, <parameter>'initgrid'</parameter>, <parameter>keywd1 = &hellip;</parameter>, <parameter>keywd2 = &hellip;</parameter></userinput>
80    <prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>'file.nc'</parameter>, <parameter>'initgrid'</parameter>, <parameter>'arg1, arg2, &hellip;'</parameter></userinput>
81  </screen>
82</para>
83
84<sect2 id="launch_xxx_1"><title><prompt>&promptidl;</prompt> <userinput><command>xxx</command></userinput></title>
85  <para>
86    A window will open with 3 parts to consider.
87<figure id="fig_xxx_0101">
88<title>Window xxx 1</title>
89<mediaobjectco>
90<imageobjectco>
91<areaspec units="calspair">
92<area id="datafile" coords="500,1715 9326,3074"/>
93<area id="initmethod" coords="1500,3268 8326,4919"/>
94<area id="initprogram" coords="57,5145 9961,8996"/>
95</areaspec>
96<imageobject>
97<imagedata fileref="figpng/xxx_0101.png"/> <!-- ++ instead of figpng/xxx_0101_org.png -->
98</imageobject>
99<calloutlist>
100<callout arearefs="datafile">
101<para>Data file name</para>
102</callout>
103<callout arearefs="initmethod">
104<para>Grid initialization method</para>
105</callout>
106<callout arearefs="initprogram">
107<para>Grid initialization parameters</para>
108</callout>
109</calloutlist>
110</imageobjectco>
111<!-- ++ si on met textobject, on ne voit plus l'image !!
112<textobject>[plot figpng/xxx_0101.png]</textobject>
113-->
114</mediaobjectco>
115</figure>
116  </para>
117
118<sect3 id="datafiletxt"><title>Data file name</title>
119  <para>
120    The name of the data file. It can be typed directly in the window provided, or selected with the help of the <guibutton>browse</guibutton> button.
121  </para>
122</sect3>
123<sect3 id="initmethodtxt"><title>Grid initialization method</title>
124  <para>
125    For visualising grilled data, you need to <ulink url="./firststeps.html#load_grid">define the grid</ulink> on which are located the data. By default, "automatic grid construction with initncdf.pro" is checked. This means that the grid will be defined by using the informations contained in the data file (through the IDL prodecure <command>initncdf</command>) without needing any other auxillary file. If you checked "grid construction with other IDL batch or procedure", this means that you don't want to use the default <command>initncdf</command> procedure to define the grid and you will provide your own IDL procedure or the so-called IDL batch file (a file which is called by using @, see IDL documentation).
126  </para>
127</sect3>
128<sect3 id="initprogramtxt"><title>Grid initialization parameters</title>
129  <para>
130    This third part allows you to specify the name, the argument and the keywords of the routine you want to use to initialize the grid.
131By default the name of the procedure is <command>initncdf</command>, its argument will be automatically defined so you cannot change them. If you If you checked "grid construction with other IDL batch or procedure", you have to select the name of the IDL procedure or batch file and its suitable arguments and keywords. Note that if you select an IDL batch file you cannot give any parameter or keyword.
132    <figure id="fig_xxx_0102">
133      <title>Window xxx 1</title>
134      <mediaobjectco>
135        <imageobjectco>
136          <imageobject>
137            <imagedata fileref="figpng/xxx_0102.png"/>
138          </imageobject>
139        </imageobjectco>
140      </mediaobjectco>
141    </figure>
142  </para>
143  <para>
144    Once these two lines have been completed, click on <guibutton>let's go</guibutton>.
145  </para>
146  <para>For example, we choose the IDL batch file "tst_initlev". Compare the result with "automatic grid construction with initncdf.pro" checked. Cf <xref linkend="fig_xxx_0404"/>
147  </para>
148<para>
149  <figure id="fig_xxx_0103">
150      <title>Oceania at 125 meters of depth with proper grid initialization</title>
151        <imageobject>
152          <imagedata fileref="figpng/xxx_0103.png"/>
153        </imageobject>
154  </figure>
155</para>
156</sect3>
157</sect2>
158
159<sect2 id="launch_xxx_2"><title><prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>/separate</parameter></userinput></title>
160<para>
161This is the same as the simple <link linkend="launch_xxx_1"><prompt>&promptidl;</prompt> <userinput><command>xxx</command></userinput></link> except that once the xxx window open, you will have 2 separate windows (command and plotting window) instead of one.
162</para>
163</sect2>
164
165<sect2 id="launch_xxx_3"><title><prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>restore = 'file.dat'</parameter></userinput></title>
166<para>
167In that case xxx window will open directly in the same state as it was when the file "file.dat" was created. see <link linkend="restore">+++++++</link>
168</para>
169</sect2>
170
171<sect2 id="launch_xxx_4"><title><prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>'file.nc'</parameter></userinput></title>
172<para>
173In this case, the xxx window directly open the data file 'file.nc' and build the grid automatically with the IDL procedure <command>initncdf</command>. For example:
174  <screen format="linespecific">
175    <prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>'Levitus98_1m_01_12_Temperature_Pot_1x1.nc'</parameter></userinput>
176  </screen>
177</para>
178</sect2>
179
180<sect2 id="launch_xxx_5"><title><prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>'file.nc'</parameter>, <parameter>keywd1 = &hellip;</parameter>, <parameter>keywd2 = &hellip;</parameter></userinput></title>
181<para>
182In this case, the xxx window directly open the data file 'file.nc', build the grid automatically with the IDL procedure <command>initncdf</command> and use the keywords <userinput><parameter>keywd1 = &hellip;</parameter>, <parameter>keywd2 = &hellip;</parameter></userinput> in the call of <command>initncdf</command>. For example:
183  <screen format="linespecific">
184    <prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>'Levitus98_1m_01_12_Temperature_Pot_1x1.nc'</parameter>, <parameter>useasmask = 'votemper'</parameter>, <parameter>missing_value = 31.0720</parameter></userinput>
185  </screen>
186</para>
187</sect2>
188
189<sect2 id="launch_xxx_6"><title><prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>'file.nc'</parameter>, <parameter>'initgrid'</parameter></userinput></title>
190<para>
191In this case, the xxx window directly open the data file 'file.nc' and build the grid directly with the IDL procedure or batch file <command>initgrid</command>
192  <screen format="linespecific">
193    <prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>'Levitus98_1m_01_12_Temperature_Pot_ORCA2.nc'</parameter>, <parameter>'tst_initorca2'</parameter></userinput>
194  </screen>
195</para>
196</sect2>
197
198<sect2 id="launch_xxx_7"><title><prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>'file.nc'</parameter>, <parameter>'initgrid'</parameter>, <parameter>keywd1 = &hellip;</parameter>, <parameter>keywd2 = &hellip;</parameter></userinput></title>
199<para>
200In this case, the xxx window directly open the data file 'file.nc', build the grid directly with the IDL procedure <command>initgrid</command> and use the keywords <userinput><parameter>keywd1 = &hellip;</parameter>, <parameter>keywd2 = &hellip;</parameter></userinput> in the call of <command>initgrid</command>.
201</para>
202</sect2>
203
204<sect2 id="launch_xxx_8"><title><prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>'file.nc'</parameter>, <parameter>'initgrid'</parameter>, <parameter>'arg1, arg2, &hellip;'</parameter></userinput></title>
205<para>
206In this case, the xxx window directly open the data file 'file.nc', build the grid directly with the IDL procedure <command>initgrid</command> and use the string <userinput><parameter>'arg1, arg2, &hellip;'</parameter></userinput> to specify the input arguments in the call of <command>initgrid</command>.
207</para>
208</sect2>
209
210</sect1>
211
212<sect1 id="wigdets"><title>Description of XXX window</title>
213
214<para>
215<!-- cf example in http://www.docbook.org/tdg/en/html/area.html
216sauf que dans l'exemple en question on ne donne que 2 nombres et pas 4
217voir aussi message http://www.oasis-open.org/archives/docbook-apps/200501/msg00089.html
218peut-etre du nouveau dans les xsl depuis le 16 janvier 2005
219peut-être essayé http://lists.kde.org/?l=kde-doc-english&m=112780764426265&w=2
220ce produit klickety est installable via fink sous mac
221 -->
222<figure id="fig_xxx_0201">
223<title>Window xxx 2</title>
224<mediaobjectco>
225<imageobjectco>
226<areaspec units="calspair">
227<area id="plottype" coords="69,380 2261,809"/>
228<area id="menu" coords="2517,380 7575,841"/>
229<area id="ok" coords="116,936 1025,1365"/>
230<area id="pagelayout" coords="1631,936 4498,1365"/>
231<area id="variableslist" coords="4871,952 7529,1349"/>
232<area id="fileslist" coords="46,1507 8018,1857"/>
233<area id="commandtext" coords="46,2000 8065,2539"/>
234<area id="calendar" coords="46,2682 4941,3428"/>
235<area id="domdef" coords="372,3603 7179,7095"/>
236<area id="specifications" coords="23,7269 8041,9206"/>
237</areaspec>
238<imageobject>
239<imagedata fileref="figpng/xxx_0201.png"/> <!-- ++ instead of figpng/xxx_0201_org.png -->
240</imageobject>
241<calloutlist>
242<callout arearefs="plottype">
243<para>Plot type</para>
244</callout>
245<callout arearefs="menu">
246<para>Menu</para>
247</callout>
248<callout arearefs="ok">
249<para>OK</para>
250</callout>
251<callout arearefs="pagelayout">
252<para>Page layout</para>
253</callout>
254<callout arearefs="variableslist">
255<para>Variables list</para>
256</callout>
257<callout arearefs="fileslist">
258<para>Files list</para>
259</callout>
260<callout arearefs="commandtext">
261<para>Command text</para>
262</callout>
263<callout arearefs="calendar">
264<para>Calendar</para>
265</callout>
266<callout arearefs="domdef">
267<para>Domdef</para>
268</callout>
269<callout arearefs="specifications">
270<para>Spefications</para>
271</callout>
272</calloutlist>
273</imageobjectco>
274<!-- ++ si on met textobject, on ne voit plus l'image
275<textobject>[plot figpng/xxx_0201.png]</textobject>
276-->
277</mediaobjectco>
278</figure>
279</para>
280
281<sect2 id="plottypetxt"><title>Plot type list</title>
282<para>Allows specification of the type of plot desired.</para>
283<para>
284    <figure id="fig_xxx_0202">
285      <title>Different plot types available</title>
286          <imageobject>
287            <imagedata fileref="figpng/xxx_0202.png"/>
288          </imageobject>
289    </figure>
290</para>
291<note>
292<para>
293If the type <constant>plt</constant> is selected, the selection of plot type
294is made by mouse. Cf <xref linkend="mouse"/></para>
295</note>
296</sect2>
297
298<sect2 id="menutxt"><title>The menu bar made up of 3 sub-menus</title>
299<sect3 id="filesubmenu"><title><guibutton>File</guibutton> sub-menu</title>
300<para>
301    <figure id="fig_xxx_0203">
302      <title>The File menu</title>
303          <imageobject>
304            <imagedata fileref="figpng/xxx_0203.png"/>
305          </imageobject>
306    </figure>
307</para>
308<para>
309<itemizedlist>
310<listitem><para><menuchoice><guisubmenu>Open:</guisubmenu></menuchoice> to open a new file. Same procedure as during the <link linkend="launch_xxx_1">launch of XXX</link>.
311The new file can be on a different grid, with different variables, with a different time base &hellip;
312</para></listitem>
313<listitem><para><menuchoice><guisubmenu>New XXX:</guisubmenu></menuchoice> to open a second XXX window identical to the first one.</para></listitem>
314<listitem><para><menuchoice><guisubmenu>Quit:</guisubmenu></menuchoice> to close the XXX window.</para></listitem>
315</itemizedlist>
316</para>
317</sect3>
318<sect3 id="saveassubmenu"><title><guibutton>Save As</guibutton> sub-menu</title>
319<para>
320    <figure id="fig_xxx_0204">
321      <title>The Save As menu</title>
322          <imageobject>
323            <imagedata fileref="figpng/xxx_0204.png"/>
324          </imageobject>
325    </figure>
326</para>
327<para>
328<itemizedlist>
329<listitem><para><menuchoice><guisubmenu>Postscript:</guisubmenu></menuchoice> to save the plotting window in Postscript format</para></listitem>
330<listitem><para><menuchoice><guisubmenu>Animated gif:</guisubmenu></menuchoice> to create an animation of the plotting window.
331<note><para>The creation of an animation is only possible if none of the plots have a time axis, and if the plots are all on the same time base (calendar). On the other hand, animations of horizontal and vertical plots, with different color palettes (for those not on an X-terminal), are possible.</para></note>
332<note><para>The creation of animations has a tendency to saturate the video memory of X-terminals, crashing the entire program &hellip;</para></note>
333</para></listitem>
334<listitem><para><menuchoice><guisubmenu>Gif:</guisubmenu></menuchoice> to save a gif of the plotting window.</para></listitem>
335<listitem><para><menuchoice><guisubmenu>IDL procedure:</guisubmenu></menuchoice> to save the command history that has created the plot in an IDL procedure that can be re-executed later. For example if I save the commands in <filename>xxx_figure.pro</filename> file, when ever I want, I can then launch a new IDL session and type:
336  <screen format="linespecific">
337<prompt>&promptidl;</prompt> <userinput>@init</userinput>
338<prompt>&promptidl;</prompt> <userinput>xxx_figure</userinput>
339</screen>
340and I'll obtain the saved figure.
341  <screen format="linespecific">
342<prompt>&promptidl;</prompt> <userinput>xxx_figure,/post</userinput>
343</screen>
344or
345  <screen format="linespecific">
346<prompt>&promptidl;</prompt> <userinput>@ps</userinput>
347</screen>
348will then create a Postscript file of the figure.
349</para></listitem>
350<listitem><para id='restore'><menuchoice><guisubmenu>RESTORE kwd of xxx:</guisubmenu></menuchoice> to save the xxx widget (all buttons and parameters stored in memory &hellip;) in a binary file in order to quit xxx and relaunch it later with <link linkend="launch_xxx_3"><prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>restore = 'file.dat'</parameter></userinput></link> and get exactly the same configuration.</para></listitem>
351<listitem><para><menuchoice><guisubmenu>Print to prompt:</guisubmenu></menuchoice> lists in the IDL window the command history that created the last plot. Useful primarily for debugging&hellip;</para></listitem>
352</itemizedlist>
353</para>
354</sect3>
355<sect3 id="flagsubmenu"><title><guisubmenu>Flag options</guisubmenu> sub-menu</title>
356<para>
357    <figure id="fig_xxx_0205">
358      <title>The Flag Option menu</title>
359          <imageobject>
360            <imagedata fileref="figpng/xxx_0205.png"/>
361          </imageobject>
362    </figure>
363</para>
364<para>
365<itemizedlist>
366<listitem><para><guisubmenu>Portrait/Landscape:</guisubmenu> changes the configuration of the plot.</para></listitem>
367<listitem><para><guisubmenu>Overlay:</guisubmenu> to plot contours of a different field on top the
368one represented as color-filled contours. It is necessary to relaunch the entire plot to make this work!</para></listitem>
369<listitem><para><guisubmenu>Vecteur:</guisubmenu> to plot a vector field on top of contours. Only
370works on horizontal plots (<filename>plt.pro</filename>).
371As for Overlay, a relaunch of the entire plot is necessary.</para></listitem>
372<listitem><para><guisubmenu>Longitude / x index:</guisubmenu> switches longitude labeling of the plot sub-domain from degrees to indexes following i.</para></listitem>
373<listitem><para><guisubmenu>Latitude / y index:</guisubmenu> switches latitude labeling of the plot sub-domain from degrees to indexes following j.</para></listitem>
374</itemizedlist>
375</para>
376<caution><para>Careful, a selected option remains selected until it is re-clicked.</para></caution>
377</sect3>
378</sect2>
379
380<sect2 id="oktxt"><title>OK button</title>
381<para>Click on this <guibutton>OK</guibutton> button is required to make a new plot appear</para>
382</sect2>
383
384<sect2 id="pagelayouttxt"><title>Page Layout</title>
385<para>Specify the number of columns and rows for plots on the sheet of paper.</para>
386<para>
387    <figure id="fig_xxx_0206">
388      <title>Number of Column</title>
389          <imageobject>
390            <imagedata fileref="figpng/xxx_0206.png"/>
391          </imageobject>
392    </figure>
393</para>
394<para>
395    <figure id="fig_xxx_0206a">
396      <title>Example: For 2 columns and 2 rows</title>
397          <imageobject>
398            <imagedata fileref="figpng/xxx_0206a.png"/>
399          </imageobject>
400    </figure>
401</para>
402</sect2>
403
404<sect2 id="variableslisttxt"><title>List of variables</title>
405<para>You can choose the variable to work on.</para>
406<para>
407    <figure id="fig_xxx_0207">
408      <title>Example of different Variables available</title>
409          <imageobject>
410            <imagedata fileref="figpng/xxx_0207.png"/>
411          </imageobject>
412    </figure>
413</para>
414</sect2>
415
416<sect2 id="fileslisttxt"><title>List of open files</title>
417<para>You can choose the file to work on.</para>
418<para>
419    <figure id="fig_xxx_0208">
420      <title>Example of list of open files</title>
421          <imageobject>
422            <imagedata fileref="figpng/xxx_0208.png"/>
423          </imageobject>
424    </figure>
425</para>
426</sect2>
427
428<sect2 id="commandtexttxt"><title><guimenuitem>Command text</guimenuitem><!--++ textarea--></title>
429<para>
430To specify in the widget part number 7 the computation you want to do on the data
431<note><para>In all cases bellow, the name given to a field (a, b, c, &hellip;) is of no importance.</para></note>
432</para>
433<sect3 id="commandtext1"><title>Linear calculation</title>
434<para>
435If you want to make basic linear computation (like difference between fields, add/multiply by a constant &hellip;). you can simply put the following commands: <screen format="linespecific">a - b</screen><screen format="linespecific">numb1*a</screen><screen format="linespecific">a + numb</screen> or any command with the following format <screen format="linespecific">numb1*a + numb2*b  + numb3*c &hellip; + numb</screen> where numb1, numb2, &hellip; correspond to numbers and a, b, c &hellip; will be the data to read.
436</para>
437</sect3>
438<sect3 id="commandtext1"><title>Any kind of computation</title>
439<para>
440If you want to make a computation more complicated than a basic linear you must put designate the data you want to read between <keycap>"</keycap><keycap>"</keycap> (with anything in between the "). For example: <screen format="linespecific">"a"^2</screen><screen format="linespecific">"a" - abs("b")</screen><screen format="linespecific">grad("a", 'x')</screen> &hellip;
441</para>
442</sect3>
443</sect2>
444
445<sect2 id="calendartxt"><title>Calendar</title>
446<para>
447The calendar is made up of two drop-lists, which allow specification of two dates, the beginning and end of a time series, or the period over which to average before plotting.</para>
448<para>
449    <figure id="fig_xxx_0301">
450      <title>Example: first plot in January, second plot is from January to December</title>
451          <imageobject>
452            <imagedata fileref="figpng/xxx_0301.png"/>
453          </imageobject>
454    </figure>
455</para>
456</sect2>
457
458<sect2 id="domdeftxt"><title>Define the domain</title>
459<para>
460  A series of widgets that allow specification of the min/max limits of the domain in longitude/x-index, latitude/y-index, and depth in levels or meters.
461  <figure id="fig_xxx_0210">
462    <title>Domain by default</title>
463    <imageobject>
464      <imagedata fileref="figpng/xxx_0210.png"/>
465    </imageobject>
466  </figure>
467  <figure id="fig_xxx_0401">
468    <title>Change Domain area: zoom on Oceania</title>
469          <imageobject>
470            <imagedata fileref="figpng/xxx_0401.png"/>
471          </imageobject>
472  </figure>
473  <figure id="fig_xxx_0402">
474    <title>This configuration give us:</title>
475    <imageobject>
476      <imagedata fileref="figpng/xxx_0402.png"/>
477    </imageobject>
478  </figure>
479  <figure id="fig_xxx_0403">
480    <title>Change depth area: between depth 125 and 126</title>
481    <imageobject>
482      <imagedata fileref="figpng/xxx_0403.png"/>
483    </imageobject>
484  </figure>
485  <figure id="fig_xxx_0404">
486    <title>temperature of the ocean at depth 125 meters without proper land/sea mask</title>
487    <imageobject>
488      <imagedata fileref="figpng/xxx_0404.png"/>
489    </imageobject>
490  </figure>
491  As you can see, at this depth, we better define a land/sea mask when loading the grid. Cf <xref linkend="fig_xxx_0103"/>
492</para>
493</sect2>
494
495<sect2 id="specificationstxt"><title>Specify your plot</title>
496
497<sect3 id="minmaxintervaltxt"><title>Specify min, max and contour interval</title>
498<para>
499  <figure id="fig_xxx_0501">
500    <title>min, max, and contour interval specifications</title>
501    <imageobject>
502      <imagedata fileref="figpng/xxx_0501.png"/>
503    </imageobject>
504  </figure>
505  You can restore configuration by default by pressing the <menuchoice><guibutton>Default</guibutton></menuchoice> button.
506  <note><para>The path of the file <ulink type="text" url="../../ToBeReviewed/WIDGET/AUTOUR_de_XXX/definedefaultextra.pro"><filename>definedefaultextra.pro</filename></ulink> that defines the default values for each variable names is displayed when the cursor hovers over the button <menuchoice><guibutton>Default</guibutton></menuchoice>. This file contains a case statement based on the name of the variable and defining the min, max, contour interval and other keywords that should be used as default for the specified variable. You can copy this file in your own <filename class="directory"><envar>${HOME}</envar>/My_IDL/</filename> directory and easily modify it to suit your favorite default values.</para></note>
507</para>
508</sect3>
509
510<sect3 id="colortxt"><title>Specify the palette to be used</title>
511<para>For the color palette, you can either specify the name or go search for one among the palettes available.</para>
512<para>
513    <figure id="fig_xxx_0502">
514      <title>The Color menu</title>
515          <imageobject>
516            <imagedata fileref="figpng/xxx_0502.png"/>
517          </imageobject>
518    </figure>
519</para>
520</sect3>
521
522<sect3 id="kwdtxt"><title>Add any keyword</title>
523<para>
524  The <quote>keywords</quote> window allows specification of all desired keywords. There is a few examples of the use of this <quote>keywords</quote> window.
525  <figure id="fig_xxx_0209">
526    <title>Without any additional keyword</title>
527    <imageobject>
528      <imagedata fileref="figpng/xxx_0209.png"/>
529    </imageobject>
530  </figure>
531  <figure id="fig_xxx_0210a">
532    <title>Add <varname>/realcont</varname> keyword</title>
533    <imageobject>
534      <imagedata fileref="figpng/xxx_0210a.png"/>
535    </imageobject>
536  </figure>
537  <figure id="fig_xxx_0210">
538    <title>Graphic with <varname>/realcont</varname> keyword</title>
539    <imageobject>
540      <imagedata fileref="figpng/xxx_0210.png"/>
541    </imageobject>
542  </figure>
543  <figure id="fig_xxx_0211a">
544    <title>Add <userinput>/realcont, map=[90,0,0], /ortho, cell_fill=2</userinput> keywords</title>
545    <imageobject>
546      <imagedata fileref="figpng/xxx_0211a.png"/>
547    </imageobject>
548  </figure>
549  <figure id="fig_xxx_0211">
550    <title>Graphic with <literal>/realcont, map=[90,0,0], /ortho, cell_fill=2</literal> keywords</title>
551    <imageobject>
552      <imagedata fileref="figpng/xxx_0211.png"/>
553    </imageobject>
554  </figure>
555</para>
556</sect3>
557</sect2>
558</sect1>
559
560<sect1 id="mouseactions"><title>Mouse Actions</title>
561
562<sect2 id="mouse"><title>In the graphics window on a horizontal plot</title>
563<para>
564Select a domain and select the horizontal plot (<constant>plt</constant>), vertical plot
565(<constant>pltz</constant>), or the hovmoeller plot (<constant>pltt</constant>):</para>
566<para>
567The domain we'd like to select for the plot is determined by one of
568its diagonals, defined therefore by two points.
569The first point is
570defined when the mouse button is pushed, then the mouse is moved, and
571the second point is defined as the mouse button is released
572(click-drag).
573The domains are thus defined by a long click (<abbrev>LC</abbrev>).
574To determine which type of plot should be made of selection, use:
575</para>
576<para>
577If the plot selector is on <constant>plt</constant>
578<itemizedlist>
579<listitem><para>the <mousebutton>left</mousebutton> mouse button to create horizontal plots (<constant>plt</constant>)</para></listitem>
580<listitem><para>the <mousebutton>middle</mousebutton> mouse button to create vertical plots (<constant>pltz</constant>)</para></listitem>
581<listitem><para>the <mousebutton>right</mousebutton> mouse button to create common hovmoellers for xt and yt cuts (<constant>pltt</constant>)</para></listitem>
582</itemizedlist>
583</para>
584
585<para>In summary:</para>
586<para>
587<itemizedlist>
588<listitem><para>
589    <figure id="fig_mousell">
590      <title><abbrev>LCL</abbrev>---><constant>plt</constant></title>
591      <mediaobjectco>
592        <imageobjectco>
593          <imageobject>
594            <imagedata fileref="figpng/xxx_mousell.png"/>
595          </imageobject>
596        </imageobjectco>
597      </mediaobjectco>
598    </figure>
599<para>
600    <figure id="fig_xxx_0701">
601      <title>Horizontal Plot</title>
602          <imageobject>
603            <imagedata fileref="figpng/xxx_0701.png"/>
604          </imageobject>
605    </figure>
606</para>
607
608</para></listitem>
609<listitem><para>
610    <figure id="fig_mouselm">
611      <title><abbrev>LCM</abbrev>---><constant>pltz</constant></title>
612      <mediaobjectco>
613        <imageobjectco>
614          <imageobject>
615            <imagedata fileref="figpng/xxx_mouselm.png"/>
616          </imageobject>
617        </imageobjectco>
618      </mediaobjectco>
619    </figure>
620<para>
621    <figure id="fig_xxx_0702">
622      <title>Vertical Plot</title>
623          <imageobject>
624            <imagedata fileref="figpng/xxx_0702.png"/>
625          </imageobject>
626    </figure>
627</para>
628
629</para></listitem>
630<listitem><para>
631    <figure id="fig_mouselr">
632      <title><abbrev>LCR</abbrev>---><constant>pltt</constant></title>
633      <mediaobjectco>
634        <imageobjectco>
635          <imageobject>
636            <imagedata fileref="figpng/xxx_mouselr.png"/>
637          </imageobject>
638        </imageobjectco>
639      </mediaobjectco>
640    </figure>
641<para>
642    <figure id="fig_xxx_0703">
643      <title>Common hovmoeller for xt and yt cuts</title>
644          <imageobject>
645            <imagedata fileref="figpng/xxx_0703.png"/>
646          </imageobject>
647    </figure>
648</para>
649
650</para></listitem>
651</itemizedlist>
652</para>
653
654<note><para>If the plot selector is on something other than <constant>plt</constant> the indicated plot type is made.</para></note>
655
656</sect2>
657<sect2 id="multipleplots"><title>Create multiple plots on the same sheet and make them interact</title>
658
659<para>
660Select the number of columns and rows for the page.</para>
661<para>
662Create a first plot.
663It will appear in the first frame.</para>
664<para>
665To create a plot in another frame double-click in the frame with the
666<mousebutton>middle</mousebutton> button (<abbrev><keycombo action="double-click"><mousebutton>DCM</mousebutton></keycombo></abbrev>).
667A black dotted frame will surround the designated frame, the <quote>target</quote> frame.
668A black frame will surround the first plot.
669This is the <quote>reference</quote> frame, in other words the one
670that all the XXX widgets refer to.
671Change for example the date and create a new plot.
672With a <mousebutton>left</mousebutton> button double-click in the first
673frame, all the widgets change and refer again to the first plot.
674A double-click with the <mousebutton>right</mousebutton> button in the second frame will erase the
675plot.</para>
676<para>In summary: </para>
677<itemizedlist>
678<listitem><para>
679    <figure id="fig_mousedl">
680      <title><abbrev>DCL</abbrev>---><quote>reference</quote> frame</title>
681      <mediaobjectco>
682        <imageobjectco>
683          <imageobject>
684            <imagedata fileref="figpng/xxx_mousedl.png"/>
685          </imageobject>
686        </imageobjectco>
687      </mediaobjectco>
688    </figure>
689<para>
690    <figure id="fig_xxx_0801">
691      <title>The reference frame is selected</title>
692          <imageobject>
693            <imagedata fileref="figpng/xxx_0801.png"/>
694          </imageobject>
695    </figure>
696</para>
697
698</para></listitem>
699<listitem><para>
700    <figure id="fig_mousedm">
701      <title><abbrev>DCM</abbrev>---><quote>target</quote> frame</title>
702      <mediaobjectco>
703        <imageobjectco>
704          <imageobject>
705            <imagedata fileref="figpng/xxx_mousedm.png"/>
706          </imageobject>
707        </imageobjectco>
708      </mediaobjectco>
709    </figure>
710<para>
711    <figure id="fig_xxx_0802">
712      <title>The target frame is selected</title>
713          <imageobject>
714            <imagedata fileref="figpng/xxx_0802.png"/>
715          </imageobject>
716    </figure>
717</para>
718</para></listitem>
719<listitem><para>
720    <figure id="fig_mousedr">
721      <title><abbrev>DCR</abbrev>--->erase the frame</title>
722      <mediaobjectco>
723        <imageobjectco>
724          <imageobject>
725            <imagedata fileref="figpng/xxx_mousedr.png"/>
726          </imageobject>
727        </imageobjectco>
728      </mediaobjectco>
729    </figure>
730
731</para></listitem>
732</itemizedlist>
733<para>Here's a series of commands to show how this works.</para>
734<procedure>
735<step>
736<para>
737load xxx with the command:
738  <screen format="linespecific">
739    <prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>'Levitus98_1m_01_12_Temperature_Pot_ORCA05.nc'</parameter>, <parameter>'tst_initorca05'</parameter></userinput>
740  </screen>
741</para>
742</step>
743<step>
744<para>
745Select a 3-D field and create 6 frames for the sheet of paper.
746</para>
747</step>
748<step>
749<para>
750Create a horizontal plot in Frame 1
751</para>
752</step>
753<!-- je n'arrive pas à utliser <stepalternatives> -->
754<step>
755<para>
756<abbrev>DCM</abbrev> in frame 2, <abbrev>LCL</abbrev> on the plot in frame 1, to create a horizontal
757zoom in frame 2.</para>
758<para>
759<abbrev>DCM</abbrev> in frame 3, <abbrev>LCM</abbrev> on the plot in frame 1, to create a vertical cut
760in frame 3.</para>
761<para>
762<abbrev>DCM</abbrev> in frame 4, <abbrev>LCR</abbrev> on the plot in frame 1, to create a hovmoeller in frame 4.
763</para>
764<para>
765    <figure id="fig_xxx_0901">
766      <title>Frame with four plot</title>
767          <imageobject>
768            <imagedata fileref="figpng/xxx_0901.png"/>
769          </imageobject>
770    </figure>
771</para>
772</step>
773</procedure>
774<procedure>
775<para>
776To redo the hovmoeller with the keyword <literallayout>/nocontour</literallayout>
777</para>
778<step>
779<para>
780<abbrev>DCL</abbrev> in frame 4 which now becomes the reference and target frame.
781</para>
782</step>
783<step>
784<para>
785Add the keyword
786<literallayout>/nocontour</literallayout>
787<para>
788    <figure id="fig_xxx_0902a">
789      <title>Command text area</title>
790          <imageobject>
791            <imagedata fileref="figpng/xxx_0902a.png"/>
792          </imageobject>
793    </figure>
794</para>
795</para>
796</step>
797<step>
798<para>
799click <guibutton>OK</guibutton>, and the plot is redone.
800</para>
801<para>
802    <figure id="fig_xxx_0902">
803      <title>The fourth plot with the keyword "nocontour"</title>
804          <imageobject>
805            <imagedata fileref="figpng/xxx_0902.png"/>
806          </imageobject>
807    </figure>
808</para>
809</step>
810</procedure>
811<procedure>
812<para>
813in frame 5, let's create the same plot as in frame 2 except we use pltv instead of plt
814</para>
815<step>
816<para>
817<abbrev>DCL</abbrev> on frame 2
818</para>
819</step>
820<step>
821<para>
822<abbrev>DCM</abbrev> on frame 5
823</para>
824</step>
825<step>
826<para>
827change plt for pltv
828</para>
829</step>
830<step>
831<para>
832Click on <guibutton>OK</guibutton>
833</para>
834<para>
835    <figure id="fig_xxx_0903">
836      <title>Frame with five plot</title>
837          <imageobject>
838            <imagedata fileref="figpng/xxx_0903.png"/>
839          </imageobject>
840    </figure>
841</para>
842</step>
843</procedure>
844</sect2>
845</sect1>
846<sect1 id="crash"><title>What should I do when it breakdown</title>
847
848<para>
849<orderedlist>
850<listitem>
851<para>
852In the IDL window type (as many time you click on a button since a problem occurs in xxx !!!),
853  <screen format="linespecific">
854<prompt>&promptidl;</prompt> <userinput>retall</userinput>
855</screen>
856</para></listitem>
857<listitem>
858<para>
859in the IDL window, type
860  <screen format="linespecific">
861<prompt>&promptidl;</prompt> <userinput>domdef</userinput>
862</screen>
863</para></listitem>
864<listitem>
865<para><abbrev>DCR</abbrev> to erase the problem frame.
866</para>
867</listitem>
868<listitem><para>change the orientation of the plot by pressing Flag options -> Portrait/Landscape. Cf <xref linkend="flagsubmenu"/>
869</para></listitem>
870<listitem><para>quit XXX cleanly using <guisubmenu>quit</guisubmenu> from the <guibutton>File</guibutton> menu. Cf <xref linkend="filesubmenu"/>
871</para></listitem>
872</orderedlist>
873</para>
874<note>
875<para>
876Always avoid if at all possible closing and killing the XXX
877window, but rather select <guisubmenu>quit</guisubmenu> from the <guibutton>File</guibutton> menu.
878XXX uses a large number of pointers, and want only killing the window will
879leave a large number of unused variables in memory, which could in the end
880overflow.
881To clean up this memory:
882  <screen format="linespecific">
883<prompt>&promptidl;</prompt> <userinput>ptr_free, ptr_valid()</userinput>
884</screen>
885</para>
886</note>
887</sect1>
888</article>
Note: See TracBrowser for help on using the repository browser.