Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: option problems with byhist (interlaced histogram)

From   Patricia Biedermann <>
To   "" <>
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 what can I do? Is there any other solution to 
make this graph? 

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

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index