Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: weird "labels.Arrpush" error in -scatter-


From   "Feiveson, Alan H. (JSC-SK311)" <[email protected]>
To   "statalist" <[email protected]>
Subject   st: weird "labels.Arrpush" error in -scatter-
Date   Mon, 13 Feb 2006 15:29:18 -0600

Hello everyone - 

Has anybody had this occur in Stata 9 (Windows)?

Apparently if a variable label starts with "=", -scatter- gives an
"Arrpush" error. The error only seems to occur if the "=" is the first
character in the label (see below).



. des b time

              storage  display     value
variable name   type   format      label      variable label
------------------------------------------------------------------------
-------
b               float  %9.0g                  =EQ/100
time            float  %9.0g                  raw time (days)

. scatter b time
labels.Arrpush invalid name
invalid syntax
invalid syntax
invalid syntax
r(198);

. label var b "xyz"

. scatter b time   [works]

. label var b "=EQ/100"

. scatter b time
labels.Arrpush invalid name
invalid syntax
invalid syntax
invalid syntax
r(198);

. label var b "=www"

. scatter b time
labels.Arrpush invalid name
invalid syntax
invalid syntax
invalid syntax
r(198);


. label var b "w=ww"
. scatter b time       [works]

On the other hand, the old graphics (-graph7) is not bothered by this.

. label var b "=www"
. graph7 b time   [works]

Al Feiveson

*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index