[Orca-dev] Orcallator.se timestamp patch

Blair Zajac blair at orcaware.com
Sat Jul 3 23:17:27 PDT 2004


Blair Zajac wrote:

> I'd like the color in the hrule to use the colors in the built in color 
> list or the colors specified in the plot {} and not have to have new 
> colors defined.  It makes more sense for the user not to have to worry 
> about that if they don't want to.
> 
> On the other hand, for hrules, I can see the desire to specify the 
> color, as in your case for the warning levels.  So the code could take 
> the default form of
> 
> value#rrggbb[legend]
> 
> but if it sees this form:
> 
> value[legend]
> 
> it will pull a color from the color list.  This may be tricky though, as 
> a single plot in the configuration file can pull multiple colors.
> 
> So the code could be modified to be much smarter about handling colors.
> 
> I've attached a modified version of your patch fixing a bug or two.  How 
> about working off of this to get the hrule patch in?

I ended up checking this patch into Orca.

I still want to add the ability to handle multiple hrule formats with and 
without specifying the color.

Blair

-- 
Blair Zajac <blair at orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/



More information about the Orca-dev mailing list