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

Last change on this file since 186 was 183, checked in by pinsard, 18 years ago

Modif for html documentations : hellip entity instead of ..., path relative to xmldoc in url attribute, spell chekcking, enlight mousse button, status checking of xml processing in shell scripts (1/2)

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