Statalist


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

Re: st: RE: hist with addplot option


From   David Airey <[email protected]>
To   [email protected]
Subject   Re: st: RE: hist with addplot option
Date   Tue, 25 Nov 2008 15:54:56 -0600

It's too bad opacity is not a graphics option here.

BTW, and not to hijack or interweave threads, but your example is another example of not being able to copy and paste code and have it work. I can't imagine you missed anything like a comma or some such...

-Dave


On Nov 25, 2008, at 3:17 PM, Nick Cox wrote:

sysuse auto

twoway histogram mpg if !foreign, ///
start(10) width(2) freq bfcolor(none) blcolor(pink)  ///
|| histogram mpg if foreign, freq start(10) width(2) barw(1.8) ///
bfcolor(none) blcolor(blue) ///
legend(order(1 "Domestic" 2 "Foreign") pos(2) ring(0) col(1))

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