mindearth.utils.plt_metrics

View Source On Gitee
mindearth.utils.plt_metrics(x, y, fig_title, label, ylabel='', xlabel='Forecast Time (hours)', loc='upper right')[source]

Visualization of latitude weighted rmse or acc.

Parameters
  • x (numpy.array) – The x value in the figure.

  • y (numpy.array) – The y value in the figure.

  • fig_title (str) – The name of the figure.

  • label (str) – The label of the visualization curve.

  • ylabel (str) – The label of the axis y. Default: "" .

  • xlabel (str) – The label of the axis x. Default: "Forecast Time (hours)" .

  • loc (str) – The position of legend in the figure. Default: "upper right" .

Supported Platforms:

Ascend CPU GPU