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" <david.harrison@icnarc.org>
To   <statalist@hsphsun2.harvard.edu>
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).

David

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of Vince Wiggins,
StataCorp
Sent: 01 September 2005 22:37
To: statalist@hsphsun2.harvard.edu
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 <david.harrison@icnarc.org> 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
   vwiggins@stata.com

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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