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

st: Re: x and y axis in the middle

From   Kit Baum <>
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.


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.



-----Original Message-----
[] On Behalf Of Kit Baum
Sent: Samstag, 17. Oktober 2009 17:16
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   |
An Introduction to Stata Programming |
   An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

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