Skip to content
Thomas Nipen edited this page Dec 25, 2024 · 3 revisions

Axis labels

To override the default axes labels, use -xlabel and -ylabel. To set the label on the colorbar when -type map is used, use -clabel.

Axis limits

Axes are automatically scaled to contained the data, however they can be overridden by -xlim` and ``-ylim

verif ECMWF.nc MEPS.nc -m obsfcst -xlim 20,30 -ylim 0,2

The axes can be transformed to a logarithmic scale using -xlog and -ylog.

To set the x-axis limits when the x-axis is a date, use the YYYYMMDD format for specifying the limits, for example:

verif ECMWF.nc MEPS.nc -m obsfcst -x time -xlim 20161101,20161130

Mathematical expression in labels

Verif supports the use of Latex expressions in all labeling (-title, -xlabel, -ylabel, -leg). Simply wrap the expression with $ signs. Here is an example:

verif ECMWF.nc MEPS.nc -m obsfcst -title "Example title $\sum_{i=0}^3$"

Axis ticks

To override the default placements of ticks on the x and y-axis, use -xticks and -yticks respectively:

verif ECMWF.nc MEPS.nc -m obsfcst -xticks 1:5,11,20

Figure title

To set the title of the figure, use -title.

Font sizes

There are three types of font sizes that can be specified:

  • -legfs is used for the legend
  • -labfs is used for the x and y axis labels
  • -tickfs is used for the axis tick labels
verif ECMWF.nc MEPS.nc -m obsfcst -legfs 20 -labfs 8 -tickfs 15

Mathematical expression in labels

Verif supports the use of Latex expressions in all labeling (-title, -xlabel, -ylabel, -leg). Simply wrap the expression with $ signs. Here is an example:

verif ECMWF.nc MEPS.nc -m obsfcst -title "Example title $\sum_{i=0}^3$"

As with -xlim, use the YYYYMMDD format for specifying ticks on date axes.