Statalist


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

st: RE: AW: Dotplot and bar option


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: AW: Dotplot and bar option
Date   Tue, 22 Sep 2009 12:30:28 +0100

While StataCorp are explaining and/or fixing, note that -stripplot- from
SSC can produce similar graphs, e.g. 

stripplot  mpg, over(foreign) center box vertical stack height(0.3)

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

Martin Weiss

Same problem on my end! The example from the manual does not run,
indeed.
Stata chokes on the name of a temporary variable which is for some
reason
".". When -unab- goes to work on this variable, it returns the error  ".
invalid name". Weirdly enough, both versions of Stata seem to use the
same
version of dotplot: 

*! version 3.5.3  25may2005

Garry Anderson
sysuse auto
(1978 Automobile Data)

dotplot mpg, over(foreign) nx(25) ny(10) center median bar
. invalid name
r(198);

However, the same command in Stata 10.1 does not give an error message
and produces the dotplot as shown on page 360 of the online Stata 11 [R]
manual. Removing the -,bar- option shows the dotplot without the bars.

Any suggestions as to why the bar option is causing a problem would be
appreciated.

*
*   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   |   What's new   |   Site index