Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Point and click bug

From (Vince Wiggins, StataCorp)
Subject   Re: st: Point and click bug
Date   Fri, 06 Jun 2003 12:28:37 -0500

Bill Dupont <> reported that the 
-xmlabel( , nolabels)- option to -graph twoway- was not honored when a -by()-
option was also specified.  He gave the example,

> [...]
> twoway (scatter mpg weight) ,by(foreign) xmlabel(2500 (1000) 4500,
>        tlength(1.5) nolabels)
> [...]

There is a longish story here about how much -by()- should be able to take
over control of the axes, but since the complete ability to do that was not
built into the syntax of -graph , by()- the point is somewhat moot.  Suffice
it to say that I too think this is a bug and -graph , by()- has been changed
so that it will honor the [no]labels and [no]ticks suboptions of

The change will appear in the next ado update.  Until then, Bill's suggested
work-around of using -xmtick()- rather than -xmlabel(, nolabel)- will work, at
least from the command line.

-- Vince

*   For searches and help try:

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