| 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_4" title='Geopotential on Europe using shading technique' |
| 13 |
comment='Shading using solid technique'> |
| 14 |
<requirement name='a' subject='Geographical Area' text='North America' |
| 15 |
link_doc='layout_mapping_coastlines' link_ptr='Subpage_Mapping'> |
| 16 |
<action name='pcoast'/> |
| 17 |
<parameter name='subpage_lower_left_longitude' value='-15.0' function='psetr'/> |
| 18 |
<parameter name='subpage_lower_left_latitude' value='30.0' function='psetr'/> |
| 19 |
<parameter name='subpage_upper_right_longitude' value='40.0' function='psetr'/> |
| 20 |
<parameter name='subpage_upper_right_latitude' value='70.0' function='psetr'/> |
| 21 |
</requirement> |
| 22 |
|
| 23 |
<requirement name='b' subject='Grib file loading' text='Geopotential in grib file z500.grib' |
| 24 |
link_doc='data' link_ptr='Pseudo_Action_Routine_PGRIB'> |
| 25 |
<action name='pgrib'/> |
| 26 |
<parameter name='grib_input_type' value='file' function='psetc'/> |
| 27 |
<parameter name='grib_input_file_name' value='z500.grib' function='psetc'/> |
| 28 |
</requirement> |
| 29 |
<requirement name='c' subject='Legend' text='Turn the legend on' |
| 30 |
link_doc='intro' link_ptr='Overview_Contour_Plotting'> |
| 31 |
<action name='pcont'/> |
| 32 |
<parameter name='legend' value='on' function='psetc'/> |
| 33 |
</requirement> |
| 34 |
<requirement name='d' subject='Contour selection' text='Automatic selection of suitable levels' |
| 35 |
link_doc='contour' link_ptr='Contour_Levels_Selected_by_COUNT'> |
| 36 |
<action name='pcont'/> |
| 37 |
<parameter name='contour_level_selection_type' value='count' function='psetc'/> |
| 38 |
</requirement> |
| 39 |
<requirement name='e' subject='Solid Shading' text='Solid shading' |
| 40 |
link_doc='contour' link_ptr='Shading_Techniques'> |
| 41 |
<action name='pcont'/> |
| 42 |
<parameter name='contour_shade' value='on' function='psetc'/> |
| 43 |
<parameter name='contour_shade_method' value='area_fill' function='psetc'/> |
| 44 |
</requirement> |
| 45 |
<requirement name='f' subject='Colours Selection' text='Solid shading using automatic selection of colours' |
| 46 |
link_doc='contour' link_ptr='Contour_Shade_Colour_Methods'> |
| 47 |
<action name='pcont'/> |
| 48 |
<parameter name='contour_shade' value='on' function='psetc'/> |
| 49 |
<parameter name='contour_shade_method' value='area_fill' function='psetc'/> |
| 50 |
<parameter name='contour_shade_colour_method' value='calculate' function='psetc'/> |
| 51 |
<parameter name='contour_shade_min_level_colour' value='blue' function='psetc'/> |
| 52 |
<parameter name='contour_shade_max_level_colour' value='red' function='psetc'/> |
| 53 |
<parameter name='contour_shade_colour_direction' value='clockwise' function='psetc'/> |
| 54 |
</requirement> |
| 55 |
<requirement name='g' subject='Automatic title' text='add an title ( automaticaly created from the grib header)'> |
| 56 |
<action name='ptext'/> |
| 57 |
</requirement> |
| 58 |
<spot name='a' text='The legend looks different'/> |
| 59 |
|
| 60 |
</tutorial> |
| 61 |
</magics> |