Statalist The Stata Listserver


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

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


From   "White, Justin" <[email protected]>
To   <[email protected]>
Subject   st: RE: PROBLEM fillling in a gray scale for the bars for graph bar
Date   Mon, 19 Jun 2006 12:17:43 -0400

I have dealt with the same problem.  This is how I get around it.  

I save the Stata graphs as an EMF file (my personal preference).  I then
insert the emf file into Word (or PowerPoint).  You can then edit the
graph in Word (or PowerPoint).  You will have to convert the graph to a
MS Object and then ungroup the graph.  This will allow you to select
specific bars in your graph and change colors or fills.  

Hope this helps.

Justin White

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Anna
Gueorguieva
Sent: Monday, June 19, 2006 11:54 AM
To: [email protected]
Subject: st: PROBLEM fillling in a gray scale for the bars for graph bar


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/


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