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

st: RE: bug in color(black) for twoway bar ?; Serial number: 8490512947


From   "David Harrison" <[email protected]>
To   <[email protected]>
Subject   st: RE: bug in color(black) for twoway bar ?; Serial number: 8490512947
Date   Wed, 31 Aug 2005 08:38:41 +0100

This is neither platform-specific nor a bug - it is a "feature"

The default intensity for all shaded areas in twoway plots is 80%. You can override this by removing the style before applying the colour...

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

David

-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of David Airey
Sent: 31 August 2005 01:22
To: [email protected]
Subject: st: bug in color(black) for twoway bar ?; Serial number:
8490512947

.

On OS X Stata 9, it seems impossible to get black bars for twoway bar  
graphs. It is possible in graph bar.

For example,

clear

set scheme s1color

input y x
35 1
45 2
55 3
end

// produce dark gray bars
graph twoway bar y x, barwidth(0.5) color(black) ylabel(0(25)100)


// produces black bars
graph bar y x, bar(1, color(black)) bar(2, color(black))




/* about produces

Stata/SE 9.0 for Macintosh
Born 05 Jul 2005
Copyright (C) 1985-2005

*/

*
*   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