Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: PROBLEM fillling in a gray scale for the bars for graph bar


From   Anna Gueorguieva <anna_i_g@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: PROBLEM fillling in a gray scale for the bars for graph bar
Date   Mon, 19 Jun 2006 08:53:46 -0700 (PDT)

Dear all,
thank you very much for your incredible help!
I need my graphs to look good printed black and white.
The bars need to be filled out, idealy with some black
white pattern (e.g. dots, vertical lines) or even a
clear gray scale might work. 

I am running into the following problem: 
. graph bar (asis) cov02 cov05 , ///
>  over(stratum, relabel(1 "Tirana" 2 "Coastal" 3
"Mountain" 4 "Central" 5 "Total") ) ///
> legend(label(1 "Coverage in 2002") label(2 "Coverage
in 2005") ) ytitle("percent of individuals") ///
> blabel(bar, pos(inside) format(%9.0f) color(white))
bar(1 bfc(gs0)) bar(2 bfc(gs50)) ///
> note("Source: LSMS 2002 and 2005.") 
invalid bar number, 1 bfc(gs0)
invalid syntax
invalid syntax
invalid syntax
invalid syntax

Any ideas how I hsould do it? How about a fill in
pattern?

Thank you in advance!
Best,
Anna


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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/



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