[Kst] [Bug 87015] plot colors can easily repeat in a plot
C. Barth Netterfield
netterfield at physics.utoronto.ca
Thu Aug 12 15:18:45 CEST 2004
'Tis tricky!
Besides the bug, there are a bunch of things to think about (wrst the wizard,
where you have no ability to easily change the default)
(i) should psd's and curves be the same color? (I think yes)
(ii) how to we ensure that adding curves to an existing plot won't be too
likely to repeat?
(iii) do we want curve 1 in each plot to be the same color? (I think this is
OK)
(iv) fix this bug
Each plot with its own color sequence:
(i) will be true for empty plots or uniformly filled plots, but not in
general
(ii) the curveAppearanceWidget will have no knowledge of the last color used,
so could be bad
(iii) will be true
(iv) will be fixed.
(ii) is the problem then. The curveAppearanceWidget knows nothing about
previous colors in the plot, so if it starts from the same place as the
plot's color sequence, it is pretty likely to pick a color which has just
been moved. But if it starts from somewhere else (it will I think) then we
are probably ~OK.
The command line needs to use the color sequence from each plot.
So: a color sequence for each plot, used by the command line, the wizard, and
to populate the fit and filter dialog, and a global color-sequence for all
the other dialogs (should start at ~+6 or so - which it will automatically).
We can try this. The question is whether we should try it for 0.99 (what we
have now ~works) or wait.
thoughts?
cbn
On Thursday 12 August 2004 08:56 am, George Staikos wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=87015
>
>
>
>
> ------- Additional Comments From staikos kde org 2004-08-12 14:56 -------
> What would you prefer here? We could keep a different colorsequence for
> each plot, but then all plots would have the same colors. Then we would
> need to sort of "randomize" the starting point? Or even increment the
> starting point on each new sequence?
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
More information about the Kst
mailing list