[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: How to place text inside a bar chart / Stata 8 SE - win2k
Dr. Wolfram an der Heiden, Dipl.-Psych.
> I have produced the following simple bar chart:
> graph bar (asis) exper contrl, over(task) .....
> where exper and contrl show the percentage of people in a
> patient and in a
> control group above a certain cutpoint in 6 different scales (task).
> Everything works fine, as a result I get a 6 times 2 bar chart.
> Now the problem: I would like to insert some explanatory
> text inside the
> graph with the added_text_option:
> text(#y #x "text")
> Unfortunately, as this is not a two-way graph #x will be
> ignored. How can I
> locate a text box relative to one of the 6 specific 'task' bars?
You can make progress by adding
legend(on order(- "text") ring(0) pos(12))
but whether that gets you all the way I don't know.
Alternatively, use -twoway bar-.
* For searches and help try: