Debian Codegraph @

docs/manual/chapters/tutorial/contour_2.xml

raw
1 <!--
2 (C) Copyright 1996-2016 ECMWF.
3
4 This software is licensed under the terms of the Apache Licence Version 2.0
5 which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6 In applying this licence, ECMWF does not waive the privileges and immunities
7 granted to it by virtue of its status as an intergovernmental organisation nor
8 does it submit to any jurisdiction.
9 -->
10
11 <magics>
12 <tutorial name="contour_2" title='Geopotential on a global map'
13 comment='Simple plotting using a list of levels with a text'>
14 <requirement name='1' subject='Grid and coastlines setting' text='Grey coastlines and grid'
15 link_doc='layout_mapping_coastlines' link_ptr='Coastlines_and_Gridlines'>
16 <action name='pcoast'/>
17 <parameter name='map_coastline_thickness' value='2' function='pseti'/>
18 <parameter name='map_coastline_colour' value='grey' function='psetc'/>
19 <parameter name='map_grid_colour' value='grey' function='psetc'/>
20 <parameter name='map_grid_line_style' value='dash' function='psetc'/>
21 <parameter name='map_coastline_land_shade' value='on' function='psetc'/>
22 <parameter name='map_coastline_land_shade_colour' value='grey' function='psetc'/>
23 </requirement>
24 <requirement name='2' subject='Grib file loading' text='Geopotential in grib file z500.grib'
25 link_doc='data' link_ptr='Pseudo_Action_Routine_PGRIB'>
26 <action name='pgrib'/>
27 <parameter name='grib_input_type' value='file' function='psetc'/>
28 <parameter name='grib_input_file_name' value='z500.grib' function='psetc'/>
29 </requirement>
30 <requirement name='3' subject='Contour' text='navy isolines using the following level list /480., 520.,530.,560.,575.,590./'
31 link_doc='contour' link_ptr='Action_Routine_PCONT'>
32 <action name='pcont'/>
33 <parameter name='contour_level_selection_type' value='level_list' function='psetc'/>
34 <parameter name='contour_level_list' value='/480., 520.,530.,560.,575.,590./' function='pset1r'/>
35 <parameter name='contour_line_colour' value='navy' function='psetc'/>
36 <parameter name='contour_highlight_colour' value='navy' function='psetc'/>
37 <parameter name='contour_line_style' value='solid' function='psetc'/>
38 <parameter name='contour_label_frequency' value='1' function='pseti'/>
39 <parameter name='contour_line_thickness' value='1' function='pseti'/>
40 <parameter name='contour_highlight_colour' value='navy' function='psetc'/>
41 <parameter name='contour_hi_colour' value='navy' function='psetc'/>
42 <parameter name='contour_lo_colour' value='navy' function='psetc'/>
43 </requirement>
44 <requirement name='4' subject='Text' text='Add your own title, then try to use a box to move it around'>
45 <action name='ptext'/>
46 <parameter name='text_line_1' value='Geopotential on a global map' function='psetc'/>
47 <parameter name='text_line_count' value='1' function='pseti'/>
48 <parameter name='text_colour' value='navy' function='psetc'/>
49 <parameter name='text_mode' value='positional' function='psetc'/>
50 <parameter name='text_box_x_position' value='5.' function='psetr'/>
51 <parameter name='text_box_y_position' value='13.' function='psetr'/>
52 <parameter name='text_box_x_length' value='10.' function='psetr'/>
53 <parameter name='text_box_y_length' value='3.' function='psetr'/>
54 </requirement>
55 <spot name='a' text='In Magics++, the colour of the labels is the colour of the isolines'/>
56 <spot name='a' text='The position of the text_box is different'/>
57 </tutorial>
58 </magics>