Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: option problems with byhist (interlaced histogram)


From   Patricia Biedermann <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: option problems with byhist (interlaced histogram)
Date   Tue, 29 Nov 2011 10:38:46 -0800 (PST)

I want to produce an interlaced histogram with two variables:
1. Variable: 1= Case; 2=Control (binary)

2. Varialbe: 1=Agriculture, 2=Employment; 3=Business, and so on... (categorical)


I tried this command:

byhist occup, by(casecontrol) percent tw1(color(blue) lwidth(3)) tw2(color(red) lwidth(3))

so far it works very well, BUT I also wanted to put 

- title
- legend
- lables

- etc.
into the graph. everytime I try this, I got a error message. e.g: option 
title not allowed...so what can I do? Is there any other solution to 
make this graph? 

(the important thing is that it has to be ONE GRAPH!)


thanks!!!Patricia
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index