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, statalist.org is already up and running.


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

st: RE: RE: Putting a rug underneath a boxplot


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: Putting a rug underneath a boxplot
Date   Fri, 15 Oct 2010 15:01:01 +0100

That's not a bug; just an example that can be improved. 

As -help marker label options- explains -mlabpos(3)- is the default, which here is not appropriate. As in some examples in the -stripplot- help, -mlabpos(0)- should be added to centre the symbols as desired. 

Nick 
n.j.cox@durham.ac.uk 

Oliver Jones

Hi Nick,
thank you very much for your help.

I just got your -stripplot- command installed and it works fine except there seems to be a 
little bug when using the gen pipe = "|" symbol/string for the markersymbols.
In the following example one can see how the observations, i.e. the "|" are all shifted to the 
right...

********* begin example **********
sysuse auto, clear
gen pipe = "|"
stripplot price, over(rep78) box(barw(0.3)) mla(pipe) boffset(0.3) iqr
********* end example ************


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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