Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sophisticated layouts are possible in Metview, with multiple plots on a single page as shown below:

To demonstrate the plot layout facility in Metview, let's re-create the above plotting:plot.   

...

Instantiate a new Display Window icon and edit it.

...

This is what you are aiming for:

Image Added


Click on the Add new frame button to create the first frame. By default, this contains just a single plot scene which uses a Geographic View.

...

Select (left-click) this plot scene and click Expand selected frames to make it fill the whole area.

...

Divide it up into three areas as follows:

  • click Split selected frames, select 2x1 in order to obtain two vertically stacked frames and click OK.
  • select (left-click) the lower frame, click Split selected frames and select 1x2.give

Give a different View to each scene:

    • drag a Cross Section View icon (either one you previously created or else a new one) into the top scene.
    • drag a Vertical Profile View icon into the bottom-left scene.
    • drag a Geographic View
  • of your choice
    • icon into the bottom-right scene.

Your Display Window editor should look like this:

Image Removed

Now do the following:

Save the changes and Visualise this icon.

...

Drag the t_fc96.grib icon into all three of the scenes in the Display Window

...

(each of the frames defined in the editor is referred to as a scene in the Display Window. Apply some Visdefs: 

  • drag the shade icon into the cross section scene.
  •  drag the vdline icon into the vertical profile scene. 

Your result should look something like the plot at the start of this section.

If you look at the Frames and, more interestingly, the Layers tabs, you will see that they are linked to only one of these scenes at a time. Try using the Active scene control to change which on is used. You can also right-click on a scene and choose “Select as active scene” from the context menu. You can also visually highlight the active scene from the View menu.

Generate a macro from this plot by clicking on the Generate macro button in the toolbar. This is a great way to interactively design a plot layout and then create a macro which uses it. To run it on a day-to-day basis, only the data file reading step would probably have to be modified.

Legend   

Legends are an important part of any scientific and operational plot. If enabled, an automatic legend will be built from the data provided.

To enable a legend, parameter Legend needs to be set to On. This parameter is available in some of the Visual Definition icons (e.g.   Contouring, Graph Plotting and Wind Plotting).

To specify how a plot's legend is displayed, Metview provides a specific icon, named Legend. It This controls features such as the legend's position, style and fonts. To demonstrate the Legend's concept, do the following:

...

The result shows a default legend sitting at the top of the plot. Let's move the plot legend into a column at the right of the map:

...

. Create a new Legend icon and rename it to legmap. Edit it,

  • setting the following parameters, noting that the position of the legend is specified in cm from the bottom-left corner of the page, and that the default page size is A4:

Legend Box Mode

Positional

Legend Box X Position

27.4

Legend Box Y Position

0
Legend Box X Length2
Legend Box Y Length16
  • Apply the changes and drag this icon into the Display Window.
Image Modified

Image Modified

Automatic legendPositional Legend

Note that the direction of the legend, by default, is computed automatically depending on the dimensions of its positional box (here, it was originally horizontal, then it became vertical). It can also be manually set.

...

  • create a new Annotation View icon and visualise it.
  • create a new Text Plotting icon and rename it to note1. Edit it, setting the following parameters:

Text Line 1

Metview Training Course

Text Mode

Positional

Text Box X Position

10

Text Box Y Position

10

Text Box X Length

5

Text Box Y Length5
  • Apply the changes and drag this icon into the Display Window.

...