Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Re: x and y axis in the middle


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: Re: x and y axis in the middle
Date   Sun, 18 Oct 2009 07:58:41 -0400

<>
You guys mean the crappy-looking thing that M$ Excel does with the axes, labels, etc. running through the middle of the graph in both directions and stomping on the data points in the vicinity? I would not want to assist anyone in the creation of such an abomination. It would certainly be possible to place ticks on the yline(0) and xline (0), but that's as far as that should go.

Kit

On Oct 18, 2009, at 2:33 AM, Enzo wrote:

But that is not the full-fledged axis that Peter dreamt of, is it?


Peter and someone  else.

Enzo



HTH
Martin


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Kit Baum
Sent: Samstag, 17. Oktober 2009 17:16
To: [email protected]
Subject: st: re: x and y axis in the middle

<>

sysuse auto
expand 2
replace price = -price in 75/l
replace mpg = -mpg in 75/l
scatter price mpg, yscale(noline) ylabel(,grid) xscale(noline) xlabel
(,grid) yline(0) xline(0)


Kit Baum   |   Boston College Economics & DIW Berlin   |   http://ideas.repec.org/e/pba1.html
An Introduction to Stata Programming | http://www.stata-press.com/books/isp.html
   An Introduction to Modern Econometrics Using Stata  |   http://www.stata-press.com/books/imeus.html

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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