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

st: RE: RE: xscale range with negative upper bound


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: xscale range with negative upper bound
Date   Mon, 1 Nov 2004 15:08:20 -0000

Please ignore. Scott's suggestion manifestly 
much better. 

Nick 
[email protected] 

Nick Cox
 
> A very clumsy work-around: 
> 
> Suppose your variables with negative values is -neg-. 
> 
> gen pos = -neg 
> hist pos , xsc(reverse ra(10,60)) 
> xla(10 "-10" 20 "-20" 30 "-30" 40 "-40" 50 "-50" 60 "-60")
> 

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