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

Last change on this file since 345 was 345, checked in by pinsard, 16 years ago

migration from DocBook? 4 to Docbook 5 : sources and production tools

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