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   "David Harrison" <>
To   <>
Subject   RE: st: RE: bug in color(black) for twoway bar ?
Date   Mon, 5 Sep 2005 09:41:54 +0100

Granted, black is at the boundary, but what we actually have is 80% black (because of the intensity in the scheme).

I take it Stata is evaluating the black*1.25 first to get (black*1.25)*.8 = black*.8 rather than black*1.25*.8 = black*1 = black (which would be nice).


-----Original Message-----
[]On Behalf Of Vince Wiggins,
Sent: 01 September 2005 22:37
Subject: Re: st: RE: bug in color(black) for twoway bar ?

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:

*   For searches and help try:

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