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-.
Nick
[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/