Statalist The Stata Listserver


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

Re: st: PROBLEM fillling in a gray scale for the bars for graphbar


From   Thomas Speidel <[email protected]>
To   [email protected]
Subject   Re: st: PROBLEM fillling in a gray scale for the bars for graphbar
Date   Mon, 19 Jun 2006 10:06:16 -0600

This topic has been dealt with many times on the list. See for example:
http://www.stata.com/statalist/archive/2006-02/msg00887.html

You can however experiment with full colours. A useful tool to select appropriate color combinations can be found here:
http://www.personal.psu.edu/faculty/c/a/cab38/ColorBrewer/ColorBrewer.html

Thomas



Quoting Anna Gueorguieva <[email protected]> Mon Jun 19 09:53:46 2006:


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/



--
Thomas Speidel
Statistical Associate
Clinical Trials Unit
Tom Baker Cancer Centre
1331 - 29th Street N.W.
Calgary, AB, T2N 4N4

Tel. (403) 521-3370
Email: [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/



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