Statalist The Stata Listserver


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

st: RE: 0.5 but not .5 on xlabel


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: 0.5 but not .5 on xlabel
Date   Tue, 17 Oct 2006 09:52:08 +0100

The easiest way is just to insist on the text specified: 

.scatter yvar xvar,xlab(0 0.5 "0.5" 1)

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

Yoshiro Nagao

> In a two way graph,
> .scatter yvar xvar,xlab(0 0.5 1,format(%9.1f))
> generates xlabel as 
> 0.0 0.5 1
> 
> .scatter yvar xvar,xlab(0 0.5 1)
> generates xlabel as 
> 0 .5 1
> 
> 
> Is it possible to display xlabel as follows?
> 0 0.5 1
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index