...
- Text Plotting icon no longer has any legend parameters - these are all now contained in the Legend icon.
- The way to specify user text in a title has changed a little. Metview 3 contained options to specify whether a title contained automatic text, user text or both; Metview 4 instead has a default title line which is
"<magics_title/>"
. Any text line with this string will have the automatic title; lines without it will not. - Magics++ also has features, documented here, to:
- automatically add GRIB meta-data to a 'semi-automatic' plot title using GRIB_API keys. For instances:
- where Metview 3 used
!PARAM!
Metview 4 would use<grib_info key='name'/>
- provide two extra keys: base-date and valid-date
- where Metview 3 used
- convert the date and time information according to a format string defined in C++ std::strftime (http://www.cplusplus.com/reference/ctime/strftime/)
- automatically add GRIB meta-data to a 'semi-automatic' plot title using GRIB_API keys. For instances:
- Another commonly-encountered change is that instead of Text Reference Character Height, Metview now has Text Font Size.
- In Macro,
ptext
is replaced bymtext
.
Examples:
str = "<grib_info key='base-date'/>  "
str = str & "<grib_info key='centre'/> t+<grib_info key='step'/>"
str = str & " VT:<grib_info key='valid-date'/>  "
str = str & "<grib_info key='level'/> hPa <grib_info key='name'/>"
title1 = mtext (
text_line_count : 2,
...