Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Graph Box Color


From   Scott Merryman <[email protected]>
To   [email protected]
Subject   Re: st: Graph Box Color
Date   Tue, 1 Sep 2009 18:49:37 -0500

Does this produce the same problem?

clear
set obs 50
gen years = _n-1
expand 25
gen x  = rnormal(100+ years, 20)
graph box x, over(years, lab(labsize(*.5)))

I get same color for all bars.

Scott


On Tue, Sep 1, 2009 at 1:02 PM, Fred Wolfe<[email protected]> wrote:
> I used graph box as follows
>
> graph box haq,over(years)  - where years went from 0-40.
> I noticed that at 20 years the color of the 25-75 bars changed from
> blue (0-20 years) to black (>20 years). When I restricted years to be
> from 0 to 30, the color still changed at 20. I don't know if this is a
> bug or a feature.
>
> I was using default (s2color) scheme, Stata 11, MAC OS X 10.6.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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