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: RE: Maker label position using mlabv() in box plots
From
Joe Canner <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: RE: Maker label position using mlabv() in box plots
Date
Thu, 5 Sep 2013 17:32:10 +0000
Michael,
I was able to reproduce this error using auto.dta. I did a trace and found the -syntax- statement in the ado-file for -graph box- and it does not even mention the -mlabvposition- option. It appears that this is a bug. Although it should not be hard for StataCorp to reproduce, here is the code I used, in case you want to report it:
. sysuse auto
. graph box price, marker(1, mlabel(make) mlabv(turn))
Using -turn- as the position variable is not really appropriate, but it doesn't really matter what you put there because it won't be accepted in any case.
As to what to do in the meantime, perhaps you can use the -mlabposition()- option which takes a constant from 0-12 as an argument.
Regards,
Joe Canner
Johns Hopkins University School of Medicine
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Michael Koelle
Sent: Thursday, September 05, 2013 12:30 PM
To: [email protected]
Subject: st: Maker label position using mlabv() in box plots
Dear Statalist,
in a box plot generated by - graph box - I want to label outliers. In order to reduce overlapping of text, I'd like to define the position of each label with a byte variable "pos", as in:
graph box d_hhsize, marker(1, mlabel(district) mlabv(pos))
However, I get the error message "option mlabv() not allowed". Anything that can be done about this?
Thanks, Michael
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/