[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Overlapping variable labels
When ever you plot a bar graph stata uses the variable label of the
"over( variable)" to label the horizontal axis. My problem is the
labels overlap on the horizontal axis and looks a bit messy. How can
this be corrected?
My code and graph is attached. Thank you in advance.
graph bar (count) p c, over(response)
bargap(-20) bar(1,bcolor(red)) bar(2,bcolor(green)) bar(3,bcolor(gold))
blabel(bar, format(%4.0f) position(outside))
legend(label(1 "Patients") label(2 "Controls") )
Description: MS-Word document