Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: bug in color(black) for twoway bar ?

From (Vince Wiggins, StataCorp)
Subject   Re: st: RE: bug in color(black) for twoway bar ?
Date   Thu, 01 Sep 2005 16:36:30 -0500

Continuing the thread about getting fully black filled bars from -twoway bar-,
David Harrison <> asks,

> My initial thought to solve the problem was to try
> -color(black*1.25)- to increase the intensity (or rather, in Stata
> 8, -bcolor(black*1.25)-), but this would not take the intensity
> above 80%. Any reason for this?

It doesn't work because black is at boundary of the color space.  Black is the
complete absence of color; asking for it to be more black bumps against that
boundary and does nothing at all.  The same would be true of white, cyan, or
any color that is already fully saturated.  David's idea would have worked
with any color in the interior of the color space, such as tan or light green.

-- Vince

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index