PeterRochford / SkillMetrics

A Python library for calculating and displaying the skill of model predictions against observations.
GNU General Public License v3.0
201 stars 92 forks source link

compare different data sets on the same taylor graph #10

Closed iacopoff closed 5 years ago

iacopoff commented 5 years ago

I was wondering if it was possible to plot multiple data sets (each one with several experiments) on one plot and then color the markers according to data set source?

image

PeterRochford commented 5 years ago

This is the first time I have received such a question or seen such a use of a Taylor diagram. It may be possible by making multiple calls to taylor_diagram, one for each data set and specifying a different color for the marker. I can experiment with the possibility if you email me some sample of the data you would like to plot: prochford@thesymplectic.com.

iacopoff commented 5 years ago

Hi Peter, an easy workaround I have tried is to append the Taylor statistics from one data set to the ones from the next data set and then define accordingly a list of labels as markerLabel in order to map to the Taylor statistic lists. However it is a bit messy with all the labels, and would be definitely better to use colours. happy to send you some data. thanks

PeterRochford commented 5 years ago

The capability to create target and Taylor diagrams with multiple data sets overlaid has been added as of version 1.1.7. Refer to target diagram example 8 and Taylor diagram example 12 on the Wiki.