add task       

Task ID:  1102  Choice of colours for series for graphs in GUI    
 
Created by hut104 on 2010-02-11 10:36 AM, 210 days ago
Project:  User Interface
Category:  Bug
Priority:  [no priority]
Assigned to:  [not assigned]  
Status:  1. Submitted
Apsim Version:
Your Name:
Contact Details:
 
  Comment: Entering "bugid#999" in comment creates link to id 999
 

show inline images      show change history

 comment 31248 posted by ver078 on 2010-02-11 5:33 PM, 210 days ago    forward
The colours are based on the name of the line node (under the graph node), and the Title used in the output file. The colours of two different lines however are not the same for lines with the same Title in the output file. Neil wants lines that have the same Title in the output file to have the same colour. This means that you can plot an observed line and a predicted line on the same graph and give them both the same title in their respective output files, and then have the graph automatically give them both the same colour. At the moment the predict and observed for the same experiment get given different colours and relies on the order of their variables on the y axis to make sure they are the same.
 comment 31243 posted by hut104 on 2010-02-11 10:36 AM, 210 days ago    forward
Some .apsim files have graphs with dozens of series within graphs. When there is observed and predicted data series, it is best to use the same colours for both time series. However, the only way to do this currently is by ensuring that the series are in the same order. This is very difficult to ensure for large datasets. It would be good if the graph could use the same colour for series from different plots where the title is the same.