Step-by-step guide

In Metview, a Text Plotting icon has two distinct modes, controlled by the parameter Text Mode, which can be either Title or Positional. When set to Title, it will replace any default title that Metview has generated for the data. When set to Positional, it will add a new text box to the plot. In this case, if you do not want the default title, you must remove it by creating an empty Title based Text Plotting object. The following Python code shows how:

import metview as mv

data = mv.read("/my/data.grib")

empty_title = mv.mtext(text_line_count = 0)

pos_title = mv.mtext(
    text_line_1         = "Hello World!",
    text_mode           = "positional",
    text_box_x_position = 0,
    text_box_y_position = 15,
    text_box_x_length   = 29,
    text_box_y_length   = 1
    )

mv.plot(data, empty_title, pos_title)

See also Customising Your Plot Title for more information about plot titles.