Version: 1.0.0_devel (using KDE 3.3.0, compiled sources) Compiler: gcc version 3.3.2 OS: SunOS (sun4u) release 5.8 When comparing data from two files (or more), it would be nice to be able to assign curve colors based on the file the data originates from. This could be a simple dialog called from a "Tools"->"Assign color per file" menu, where a color selector is created for each open file, initialized with a sensible color sequence. Once the user has chosen the colors he/she likes, the tool would iterate over the curves and change their color according to the data file Y comes from (or X or both, probably supposing they will almost always come from the same file).
How should curves created from slave vectors of Equations, Plugins, and Events be handled (since they could use any number of vectors from different files)? Or should this function be limited only to curves that directly use data vectors?
I think it is acceptable if only curves using data vectors directly are affected by this tool. It is possibly a good idea to also apply it to slave vectors whose components all depend from the same file, but I can imagine this may be hard to determine...
SVN commit 416275 by rchern: change curve colors based on data file A trunk/extragear/graphics/kst/kst/choosecolordialog.ui M +20 -0 trunk/extragear/graphics/kst/kst/kst.cpp M +9 -0 trunk/extragear/graphics/kst/kst/kst.h A trunk/extragear/graphics/kst/kst/kstchoosecolordialog_i.cpp [License: GPL (v2+)] A trunk/extragear/graphics/kst/kst/kstchoosecolordialog_i.h [License: GPL (v2+)] M +1 -0 trunk/extragear/graphics/kst/kst/kstui.rc