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" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: bug in color(black) for twoway bar ?
Date   Thu, 1 Sep 2005 08:41:18 +0100

Out of interest (in case Vince is still reading)...

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?

David

-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Vince Wiggins,
StataCorp
Sent: 31 August 2005 19:21
To: [email protected]
Subject: Re: st: RE: bug in color(black) for twoway bar ?


David Airey <[email protected]> notes that the advice about getting
fully black bars from -graph twoway bar- that he received David Harrison
<[email protected]> and from Stata Technical Services were both
helpful, but a bit fiddly to make work.

> My apologies for assuming what I could not figure out in over an
> hour must be something wrong with Stata rather than me (!). Your
> advice was easier to implement that that of the Stata's tech help,
> which was rapidly in by inbox and also works, but there was a
> complication.
>
> In your command,
>
> graph twoway bar y x, barwidth(0.5) bstyle(none) color(black) ylabel(0 
> (25)100)
>
> does not give filled black for me. I must instead say
>
> graph twoway bar y x, barwidth(0.5) bstyle(none) bfcolor(black) ylabel 
> (0(25)100)
>
> neither color(black) nor blcolor(black) are paid attention to.

I think the apologies are most definitely ours.

There is an easy way to turn up the intensity of the fill from the default 80%
to 100%; simply add the -fintensity()- option.  That should have been easy,
but it turns out we did NOT document the -fintensity()- option.  In fact, it
is such a closely guarded secret that Stata's own Technical Services did not
know about it.

David's command would become,

   . graph twoway bar y x, barwidth(0.5) fintensity(100) color(black) 
     ylabel(0(25)100)

We will update the help files to reflect this formerly secret option.


-- Vince
   [email protected]

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index