| 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="coast_3" title='2 Subpages with different global maps' |
| 13 |
comment='In this example we will plot on the the same page, 2 global maps using different projection'> |
| 14 |
<requirement name='a' subject='Layout' text='An A4 page in portrait mode subdivides in 2 subpages' |
| 15 |
link_doc='layout_mapping_coastlines' link_ptr='Plot_Layout_Basic_Entities'> |
| 16 |
<action name='pnew("PAGE")'/> |
| 17 |
<parameter name='super_page_y_length' value='29.7' function='psetr'/> |
| 18 |
<parameter name='super_page_x_length' value='21.' function='psetr'/> |
| 19 |
<parameter name='page_y_length' value='14.5' function='psetr'/> |
| 20 |
<parameter name='page_x_length' value='21.' function='psetr'/> |
| 21 |
</requirement> |
| 22 |
<requirement name='b' subject='Projection setting' text='One map in cylindrical, One in Polar stereographic' |
| 23 |
link_doc='layout_mapping_coastlines' link_ptr='Subpage_Mapping'> |
| 24 |
<action name='pcoast'/> |
| 25 |
<action name='pnew("PAGE")'/> |
| 26 |
<parameter name='subpage_map_projection' value='cylindrical' function='psetc'/> |
| 27 |
<parameter name='subpage_map_projection' value='polar_stereographic' function='psetc'/> |
| 28 |
</requirement> |
| 29 |
<requirement name='b' subject='Grid and Coastlines setting' text='One map in cylindrical, One in Polar stereographic' |
| 30 |
link_doc='layout_mapping_coastlines' link_ptr='Coastlines_and_Gridlines'> |
| 31 |
<action name='pcoast'/> |
| 32 |
<parameter name='map_coastline_land_shade' value='on' function='psetc'/> |
| 33 |
<parameter name='map_coastline_land_shade_colour' value='cream' function='psetc'/> |
| 34 |
<parameter name='map_grid_colour' value='grey' function='psetc'/> |
| 35 |
<parameter name='map_coastline_colour' value='grey' function='psetc'/> |
| 36 |
</requirement> |
| 37 |
<requirement name='c' subject='Title' text='A title with 1 line'> |
| 38 |
<action name='ptext'/> |
| 39 |
<parameter name='text_line_1' value='Name of the projection' function='psetc'/> |
| 40 |
<parameter name='text_line_count' value='2' function='pseti'/> |
| 41 |
</requirement> |
| 42 |
<requirement name='c' subject='Label Height' text='Grid Label bigger on the second plot' |
| 43 |
link_doc='layout_mapping_coastlines' link_ptr='Coastlines_and_Gridlines'> |
| 44 |
<action name='pcoast'/> |
| 45 |
<parameter name='map_label_height' value='0.4' function='psetr'/> |
| 46 |
</requirement> |
| 47 |
<spot name='a' text='The coastlines contours are plotted in Magics++'/> |
| 48 |
<spot name='b' text='The size of the text is fixed in Magics++, you can change it using text_reference_character_height'/> |
| 49 |
</tutorial> |
| 50 |
</magics> |