Skip to content

Target Diagram Example 9

Peter Rochford edited this page Sep 1, 2019 · 2 revisions

How to create a target diagram with different symbols and colors

A ninth example of how to create a target diagram with different symbols and colors.

This example is a variation on the fourth example (target4) where now the user controls the symbols and colors used.

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.