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

Re: st: Point and click bug


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

Bill Dupont <[email protected]> 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
{x|y}[m]label().

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
   [email protected]

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