Skip to content

Target Diagram Example 5

PeterRochford edited this page Dec 21, 2016 · 3 revisions

How to create a target diagram with a color bar.

A fifth example of how to create a target diagram given one set of reference observations and multiple model predictions for the quantity.

This example is a variation on the third example (target3) where now the markers are displayed in a color spectrum corresponding to their RMSD. A color bar is automatically displayed showing the correspondence with the RMSD values. The x-axis label for uRMSD = 30 is also suppressed so the markers appear more clearly.

All functions in the Skill Metrics Toolbox are designed to only work with one-dimensional arrays, e.g. time series of observations at a selected location. The one-dimensional data are read in as data structures via a mat file. The latter are stored in data structures in the format: ref.data, pred1.data, pred2.dat, and pred3.dat. The plot is written to a file in Portable Network Graphics (PNG) format.

The reference data used in this example are cell concentrations of a phytoplankton collected from cruise surveys at selected locations and time. The model predictions are from three different simulations that have been space-time interpolated to the location and time of the sample collection.