Skip to content

Target Diagram Example 7

Peter Rochford edited this page Nov 24, 2017 · 1 revision

How to create a target diagram with a legend plus changed marker colors and circles that show co-located points.

A seventh 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 fourth example (target4) where now a legend is added, the marker colors are changed, the radii of circles to draw are specified, and two points are co-located (i.e. overly each other). Symbols with transparent faces are used so the co-located points can be seen. The list of points are checked for those that agree within 1% of each other and reported to the screen.

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.