Versions Compared

Key

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

...

Code Block
languagepy
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.

Content by Label
showLabelsfalse
max5
spaces~usa
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "metview-faqs" and label = "plots" and type = "page" and space = "UDOC"
labelskb-how-to-article

...