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

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

some improvements in wiki production

  • Property svn:keywords set to Id
File size: 36.0 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, <guibutton>automatic grid construction with initncdf.pro</guibutton> 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 <guibutton>grid construction with other IDL batch or procedure</guibutton>, 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 checked <guibutton>grid construction with other IDL batch or procedure</guibutton>, 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 <filename>tst_initlev</filename>. Compare the result with <guibutton>automatic grid construction with initncdf.pro</guibutton> 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 <xref linkend="launch_xxx_1"/> 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 <filename>file.dat</filename> was created. see <xref linkend="restore"/>.
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 <filename>file.nc</filename> 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 <filename>file.nc</filename>, 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 <filename>file.nc</filename> 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 <filename>file.nc</filename>, 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 <filename>file.nc</filename>, 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 <xref linkend="launch_xxx_1"/>.
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 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>
375<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 like in <xref linkend="launch_xxx_3"/> and get exactly the same configuration.
376</para>
377</listitem>
378<listitem>
379<para>
380<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;
381</para>
382</listitem>
383</itemizedlist>
384</para>
385</sect3>
386<sect3 xml:id="flagsubmenu"><title><guisubmenu>Flag options</guisubmenu> sub-menu</title>
387<para>
388    <figure xml:id="fig_xxx_0205">
389      <title>The <guisubmenu>Flag option</guisubmenu> menu</title>
390<mediaobject>
391  <imageobject>
392    <imagedata fileref="figpng/xxx_0205.png"/>
393  </imageobject>
394      </mediaobject>
395    </figure>
396</para>
397<para>
398<itemizedlist>
399<listitem><para><guisubmenu>Portrait/Landscape:</guisubmenu> changes the configuration of the plot.</para></listitem>
400<listitem><para><guisubmenu>Overlay:</guisubmenu> to plot contours of a different field on top the one represented as color-filled contours. It is necessary to relaunch the entire plot to make this work!</para></listitem>
401<listitem><para><guisubmenu>Vecteur:</guisubmenu> to plot a vector field on top of contours. Only works on horizontal plots (<filename>plt.pro</filename>).
402As for Overlay, a relaunch of the entire plot is necessary.</para></listitem>
403<listitem><para><guisubmenu>Longitude / x index:</guisubmenu> switches longitude labeling of the plot sub-domain from degrees to indexes following i.</para></listitem>
404<listitem><para><guisubmenu>Latitude / y index:</guisubmenu> switches latitude labeling of the plot sub-domain from degrees to indexes following j.</para></listitem>
405</itemizedlist>
406</para>
407<caution><para>Careful, a selected option remains selected until it is re-clicked.</para></caution>
408</sect3>
409</sect2>
410
411<sect2 xml:id="oktxt"><title>OK button</title>
412<para>Click on this <guibutton>OK</guibutton> button is required to make a new plot appear</para>
413</sect2>
414
415<sect2 xml:id="pagelayouttxt"><title>Page Layout</title>
416<para>Specify the number of columns and rows for plots on the sheet of paper.</para>
417<para>
418    <figure xml:id="fig_xxx_0206">
419      <title>Number of Column</title>
420<mediaobject>
421  <imageobject>
422    <imagedata fileref="figpng/xxx_0206.png"/>
423  </imageobject>
424      </mediaobject>
425    </figure>
426</para>
427<para>
428    <figure xml:id="fig_xxx_0206a">
429      <title>Example: For 2 columns and 2 rows</title>
430<mediaobject>
431  <imageobject>
432    <imagedata fileref="figpng/xxx_0206a.png"/>
433  </imageobject>
434      </mediaobject>
435    </figure>
436</para>
437</sect2>
438
439<sect2 xml:id="variableslisttxt"><title>List of variables</title>
440<para>You can choose the variable to work on.</para>
441<para>
442    <figure xml:id="fig_xxx_0207">
443      <title>Example of different variables available</title>
444<mediaobject>
445  <imageobject>
446    <imagedata fileref="figpng/xxx_0207.png"/>
447  </imageobject>
448      </mediaobject>
449    </figure>
450</para>
451</sect2>
452
453<sect2 xml:id="fileslisttxt"><title>List of open files</title>
454<para>You can choose the file to work on.</para>
455<para>
456    <figure xml:id="fig_xxx_0208">
457      <title>Example of list of open files</title>
458<mediaobject>
459  <imageobject>
460    <imagedata fileref="figpng/xxx_0208.png"/>
461  </imageobject>
462      </mediaobject>
463    </figure>
464</para>
465</sect2>
466
467<sect2 xml:id="commandtexttxt"><title><guimenuitem>Command text</guimenuitem><!--++ textarea--></title>
468<para>
469To specify in the widget part number 7 the computation you want to do on the data
470<note><para>In all cases bellow, the name given to a field (a, b, c, &hellip;) is of no importance.</para></note>
471</para>
472<sect3 xml:id="commandtext_linear"><title>Linear calculation</title>
473<para>
474If you want to make basic linear computation (like difference between fields, add/multiply by a constant &hellip;), you can simply put the following commands: <literal>a - b</literal><literal>numb1*a</literal><literal>a + numb</literal> or any command with the following format <literal>numb1*a + numb2*b  + numb3*c &hellip; + numb</literal> where numb1, numb2, &hellip; correspond to numbers and a, b, c &hellip; will be the data to read.
475</para>
476</sect3>
477<sect3 xml:id="commandtext_anykind"><title>Any kind of computation</title>
478<para>
479If you want to make a computation more complicated than a basic linear you must 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;
480</para>
481</sect3>
482</sect2>
483
484<sect2 xml:id="calendartxt"><title>Calendar</title>
485<para>
486The 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>
487<para>
488    <figure xml:id="fig_xxx_0301">
489      <title>Example: first plot in January, second plot is from January to December</title>
490<mediaobject>
491  <imageobject>
492    <imagedata fileref="figpng/xxx_0301.png"/>
493  </imageobject>
494      </mediaobject>
495    </figure>
496</para>
497</sect2>
498
499<sect2 xml:id="domdeftxt"><title>Define the domain</title>
500<para>
501  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.
502  <figure xml:id="fig_xxx_0210_domain">
503    <title>Domain by default</title>
504<mediaobject>
505    <imageobject>
506      <imagedata fileref="figpng/xxx_0210.png"/>
507    </imageobject>
508      </mediaobject>
509  </figure>
510  <figure xml:id="fig_xxx_0401">
511    <title>Change Domain area: zoom on Oceania</title>
512<mediaobject>
513  <imageobject>
514    <imagedata fileref="figpng/xxx_0401.png"/>
515  </imageobject>
516      </mediaobject>
517  </figure>
518  <figure xml:id="fig_xxx_0402">
519    <title>This configuration give us:</title>
520<mediaobject>
521    <imageobject>
522      <imagedata fileref="figpng/xxx_0402.png"/>
523    </imageobject>
524      </mediaobject>
525  </figure>
526  <figure xml:id="fig_xxx_0403">
527    <title>Change depth area: between depth 125 and 126</title>
528<mediaobject>
529    <imageobject>
530      <imagedata fileref="figpng/xxx_0403.png"/>
531    </imageobject>
532      </mediaobject>
533  </figure>
534  <figure xml:id="fig_xxx_0404">
535    <title>temperature of the ocean at depth 125 meters without proper land/sea mask</title>
536<mediaobject>
537    <imageobject>
538      <imagedata fileref="figpng/xxx_0404.png"/>
539    </imageobject>
540      </mediaobject>
541  </figure>
542  As you can see, at this depth, we better define a land/sea mask when loading the grid. Cf <xref linkend="fig_xxx_0103"/>
543</para>
544</sect2>
545
546<sect2 xml:id="specificationstxt"><title>Specify your plot</title>
547
548<sect3 xml:id="minmaxintervaltxt"><title>Specify min, max and contour interval</title>
549<para>
550  <figure xml:id="fig_xxx_0501">
551    <title>min, max, and contour interval specifications</title>
552<mediaobject>
553    <imageobject>
554      <imagedata fileref="figpng/xxx_0501.png"/>
555    </imageobject>
556      </mediaobject>
557  </figure>
558  You can restore configuration by default by pressing the <menuchoice><guibutton>Default</guibutton></menuchoice> button.
559  <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>
560</para>
561</sect3>
562
563<sect3 xml:id="colortxt"><title>Specify the palette to be used</title>
564<para>For the color palette, you can either specify the name or go search for one among the palettes available.</para>
565<para>
566    <figure xml:id="fig_xxx_0502">
567      <title>The Color menu</title>
568<mediaobject>
569  <imageobject>
570    <imagedata fileref="figpng/xxx_0502.png"/>
571  </imageobject>
572      </mediaobject>
573    </figure>
574</para>
575</sect3>
576
577<sect3 xml:id="kwdtxt"><title>Add any keyword</title>
578<para>
579  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.
580  <figure xml:id="fig_xxx_0209">
581    <title>Without any additional keyword</title>
582<mediaobject>
583    <imageobject>
584      <imagedata fileref="figpng/xxx_0209.png"/>
585    </imageobject>
586      </mediaobject>
587  </figure>
588  <figure xml:id="fig_xxx_0210a">
589    <title>Add <varname>/realcont</varname> keyword</title>
590<mediaobject>
591    <imageobject>
592      <imagedata fileref="figpng/xxx_0210a.png"/>
593    </imageobject>
594      </mediaobject>
595  </figure>
596  <figure xml:id="fig_xxx_0210_realcont">
597    <title>Graphic with <varname>/realcont</varname> keyword</title>
598<mediaobject>
599    <imageobject>
600      <imagedata fileref="figpng/xxx_0210.png"/>
601    </imageobject>
602      </mediaobject>
603  </figure>
604  <figure xml:id="fig_xxx_0211a">
605    <title>Add <userinput>/realcont, map=[90,0,0], /ortho, cell_fill=2</userinput> keywords</title>
606<mediaobject>
607    <imageobject>
608      <imagedata fileref="figpng/xxx_0211a.png"/>
609    </imageobject>
610      </mediaobject>
611  </figure>
612  <figure xml:id="fig_xxx_0211">
613    <title>Graphic with <literal>/realcont, map=[90,0,0], /ortho, cell_fill=2</literal> keywords</title>
614<mediaobject>
615    <imageobject>
616      <imagedata fileref="figpng/xxx_0211.png"/>
617    </imageobject>
618      </mediaobject>
619  </figure>
620</para>
621</sect3>
622</sect2>
623</sect1>
624
625<sect1 xml:id="mouseactions"><title>Mouse Actions</title>
626
627<sect2 xml:id="mouse"><title>In the graphics window on a horizontal plot</title>
628<para>
629Select a domain and select the horizontal plot (<constant>plt</constant>), vertical plot
630(<constant>pltz</constant>), or the hovmoeller plot (<constant>pltt</constant>):</para>
631<para>
632The domain we'd like to select for the plot is determined by one of
633its diagonals, defined therefore by two points.
634The first point is
635defined when the mouse button is pushed, then the mouse is moved, and
636the second point is defined as the mouse button is released
637(click-drag).
638The domains are thus defined by a long click (<abbrev>LC</abbrev>).
639To determine which type of plot should be made of selection, use:
640</para>
641<para>
642If the plot selector is on <constant>plt</constant>
643<itemizedlist>
644<listitem><para>the <mousebutton>left</mousebutton> mouse button to create horizontal plots (<constant>plt</constant>)</para></listitem>
645<listitem><para>the <mousebutton>middle</mousebutton> mouse button to create vertical plots (<constant>pltz</constant>)</para></listitem>
646<listitem><para>the <mousebutton>right</mousebutton> mouse button to create common hovmoellers for xt and yt cuts (<constant>pltt</constant>)</para></listitem>
647</itemizedlist>
648</para>
649
650<para>In summary:</para>
651<para>
652<itemizedlist>
653<listitem>
654<para>
655    <figure xml:id="fig_mousell">
656      <title><abbrev>LCL</abbrev>---><constant>plt</constant></title>
657      <mediaobject>
658  <imageobject>
659    <imagedata fileref="figpng/xxx_mousell.png"/>
660  </imageobject>
661      </mediaobject>
662    </figure>
663</para>
664<para>
665    <figure xml:id="fig_xxx_0701">
666      <title>Horizontal Plot</title>
667      <mediaobject>
668  <imageobject>
669    <imagedata fileref="figpng/xxx_0701.png"/>
670  </imageobject>
671      </mediaobject>
672    </figure>
673</para>
674
675</listitem>
676<listitem>
677<para>
678    <figure xml:id="fig_mouselm">
679      <title><abbrev>LCM</abbrev>---><constant>pltz</constant></title>
680      <mediaobject>
681  <imageobject>
682    <imagedata fileref="figpng/xxx_mouselm.png"/>
683  </imageobject>
684      </mediaobject>
685    </figure>
686</para>
687<para>
688    <figure xml:id="fig_xxx_0702">
689      <title>Vertical Plot</title>
690      <mediaobject>
691  <imageobject>
692    <imagedata fileref="figpng/xxx_0702.png"/>
693  </imageobject>
694      </mediaobject>
695    </figure>
696</para>
697
698</listitem>
699<listitem>
700<para>
701    <figure xml:id="fig_mouselr">
702      <title><abbrev>LCR</abbrev>---><constant>pltt</constant></title>
703      <mediaobject>
704  <imageobject>
705    <imagedata fileref="figpng/xxx_mouselr.png"/>
706  </imageobject>
707      </mediaobject>
708    </figure>
709</para>
710<para>
711    <figure xml:id="fig_xxx_0703">
712      <title>Common hovmoeller for xt and yt cuts</title>
713      <mediaobject>
714  <imageobject>
715    <imagedata fileref="figpng/xxx_0703.png"/>
716  </imageobject>
717      </mediaobject>
718    </figure>
719</para>
720
721</listitem>
722</itemizedlist>
723</para>
724
725<note><para>If the plot selector is on something other than <constant>plt</constant> the indicated plot type is made.</para></note>
726
727</sect2>
728<sect2 xml:id="multipleplots"><title>Create multiple plots on the same sheet and make them interact</title>
729
730<para>
731Select the number of columns and rows for the page.</para>
732<para>
733Create a first plot.
734It will appear in the first frame.</para>
735<para>
736To create a plot in another frame double-click in the frame with the
737<mousebutton>middle</mousebutton> button (<keycombo action="double-click"><mousebutton>DCM</mousebutton></keycombo>).
738A black dotted frame will surround the designated frame, the <quote>target</quote> frame.
739A black frame will surround the first plot.
740This is the <quote>reference</quote> frame, in other words the one
741that all the XXX widgets refer to.
742Change for example the date and create a new plot.
743With a <mousebutton>left</mousebutton> button double-click in the first
744frame, all the widgets change and refer again to the first plot.
745A double-click with the <mousebutton>right</mousebutton> button in the second frame will erase the
746plot.</para>
747<para>In summary: </para>
748<itemizedlist>
749<listitem>
750<para>
751    <figure xml:id="fig_mousedl">
752      <title><abbrev>DCL</abbrev>---><quote>reference</quote> frame</title>
753      <mediaobject>
754  <imageobject>
755    <imagedata fileref="figpng/xxx_mousedl.png"/>
756  </imageobject>
757      </mediaobject>
758    </figure>
759</para>
760<para>
761    <figure xml:id="fig_xxx_0801">
762      <title>The <quote>reference</quote> frame is selected</title>
763      <mediaobject>
764  <imageobject>
765    <imagedata fileref="figpng/xxx_0801.png"/>
766  </imageobject>
767      </mediaobject>
768    </figure>
769</para>
770
771</listitem>
772<listitem>
773<para>
774    <figure xml:id="fig_mousedm">
775      <title><abbrev>DCM</abbrev>---><quote>target</quote> frame</title>
776      <mediaobject>
777  <imageobject>
778    <imagedata fileref="figpng/xxx_mousedm.png"/>
779  </imageobject>
780      </mediaobject>
781    </figure>
782</para>
783<para>
784    <figure xml:id="fig_xxx_0802">
785      <title>The <quote>target</quote> frame is selected</title>
786      <mediaobject>
787  <imageobject>
788    <imagedata fileref="figpng/xxx_0802.png"/>
789  </imageobject>
790      </mediaobject>
791    </figure>
792</para>
793</listitem>
794<listitem>
795<para>
796    <figure xml:id="fig_mousedr">
797      <title><abbrev>DCR</abbrev>--->erase the frame</title>
798      <mediaobject>
799  <imageobject>
800    <imagedata fileref="figpng/xxx_mousedr.png"/>
801  </imageobject>
802      </mediaobject>
803    </figure>
804
805</para>
806</listitem>
807</itemizedlist>
808<para>Here's a series of commands to show how this works.</para>
809<procedure>
810<step>
811<para>
812Load xxx with the command:
813  <screen>
814    <prompt>&promptidl;</prompt> <userinput><command>xxx</command>, <parameter>'Levitus98_1m_01_12_Temperature_Pot_ORCA05.nc'</parameter>, <parameter>'tst_initorca05'</parameter></userinput>
815  </screen>
816</para>
817</step>
818<step>
819<para>
820Select a 3-D field and create 6 frames for the sheet of paper.
821</para>
822</step>
823<step>
824<para>
825Create a horizontal plot in Frame 1
826</para>
827</step>
828<!-- je n'arrive pas à utliser <stepalternatives> -->
829<step>
830<para>
831<abbrev>DCM</abbrev> in frame 2, <abbrev>LCL</abbrev> on the plot in frame 1 to create a horizontal zoom in frame 2.</para>
832<para>
833<abbrev>DCM</abbrev> in frame 3, <abbrev>LCM</abbrev> on the plot in frame 1 to create a vertical cut in frame 3.</para>
834<para>
835<abbrev>DCM</abbrev> in frame 4, <abbrev>LCR</abbrev> on the plot in frame 1 to create a hovmoeller in frame 4.
836</para>
837<para>
838    <figure xml:id="fig_xxx_0901">
839      <title>Frame with four plot</title>
840      <mediaobject>
841  <imageobject>
842    <imagedata fileref="figpng/xxx_0901.png"/>
843  </imageobject>
844      </mediaobject>
845    </figure>
846</para>
847</step>
848</procedure>
849<procedure>
850<para>
851To redo the hovmoeller with the keyword <literallayout>/nocontour</literallayout>
852</para>
853<step>
854<para>
855<abbrev>DCL</abbrev> in frame 4 which now becomes the reference and target frame.
856</para>
857</step>
858<step>
859<para>
860Add the keyword
861<literallayout>/nocontour</literallayout>
862</para>
863<para>
864    <figure xml:id="fig_xxx_0902a">
865      <title>Command text area</title>
866      <mediaobject>
867  <imageobject>
868    <imagedata fileref="figpng/xxx_0902a.png"/>
869  </imageobject>
870      </mediaobject>
871    </figure>
872</para>
873</step>
874<step>
875<para>
876Click <guibutton>OK</guibutton>, and the plot is redone.
877</para>
878<para>
879    <figure xml:id="fig_xxx_0902">
880      <title>The fourth plot with the keyword "nocontour"</title>
881      <mediaobject>
882  <imageobject>
883    <imagedata fileref="figpng/xxx_0902.png"/>
884  </imageobject>
885      </mediaobject>
886    </figure>
887</para>
888</step>
889</procedure>
890<procedure>
891<para>
892In frame 5, let's create the same plot as in frame 2 except we use pltv instead of plt
893</para>
894<step>
895<para>
896<abbrev>DCL</abbrev> on frame 2
897</para>
898</step>
899<step>
900<para>
901<abbrev>DCM</abbrev> on frame 5
902</para>
903</step>
904<step>
905<para>
906Change plt for pltv
907</para>
908</step>
909<step>
910<para>
911Click on <guibutton>OK</guibutton>
912</para>
913<para>
914    <figure xml:id="fig_xxx_0903">
915      <title>Frame with five plot</title>
916      <mediaobject>
917  <imageobject>
918    <imagedata fileref="figpng/xxx_0903.png"/>
919  </imageobject>
920      </mediaobject>
921    </figure>
922</para>
923</step>
924</procedure>
925</sect2>
926</sect1>
927<sect1 xml:id="crash"><title>What should I do when it breakdown</title>
928
929<para>
930<orderedlist>
931<listitem>
932<para>
933In the IDL window type (as many time you click on a button since a problem occurs in xxx !!!),
934  <screen>
935<prompt>&promptidl;</prompt> <userinput>retall</userinput>
936</screen>
937</para></listitem>
938<listitem>
939<para>
940In the IDL window, type
941<screen>
942 <prompt>&promptidl;</prompt> <userinput>domdef</userinput>
943</screen>
944</para></listitem>
945<listitem>
946<para><abbrev>DCR</abbrev> to erase the problem frame.
947</para>
948</listitem>
949<listitem>
950<para>change the orientation of the plot by pressing <menuchoice><guisubmenu>Flag options</guisubmenu> <guimenuitem>Portrait/Landscape</guimenuitem></menuchoice>. Cf <xref linkend="flagsubmenu"/>
951</para>
952</listitem>
953<listitem>
954<para>quit XXX cleanly using <guisubmenu>quit</guisubmenu> from the <guibutton>File</guibutton> menu. Cf <xref linkend="filesubmenu"/>
955</para>
956</listitem>
957</orderedlist>
958</para>
959<note>
960<para>
961Always avoid if at all possible closing and killing the XXX
962window, but rather select <guisubmenu>quit</guisubmenu> from the <guibutton>File</guibutton> menu.
963XXX uses a large number of pointers, and want only killing the window will
964leave a large number of unused variables in memory, which could in the end
965overflow.
966To clean up this memory:
967<screen>
968 <prompt>&promptidl;</prompt> <userinput>ptr_free, ptr_valid()</userinput>
969</screen>
970</para>
971</note>
972</sect1>
973</article>
Note: See TracBrowser for help on using the repository browser.