Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: RE: Axis with scatter plots


From   Andrew Stoddart <[email protected]>
To   [email protected]
Subject   Re: st: RE: Axis with scatter plots
Date   Wed, 16 Nov 2011 16:03:47 +0000

Many thanks Nick,

that certainly explains a lot.

Andy




Quoting Nick Cox <[email protected]> on Wed, 16 Nov 2011 15:47:11 +0000:

This is asked quite frequently. The short answer is No.

Stata's bias is that this would often produce an awful, awful mess.

A longer answer is that you can draw your own alternative axis lines using -xli(0)- and -yli(0)-.

Re-positioning axis ticks, labels and titles would be more work and require at least some degree of fudge.

If you want the first, but not the second, then this answer will be positive for you. For some more discussion, see

SJ-9-4 gr0043 . . . . . . . . . . Stata tip 82: Grounds for grids on graphs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . N. J. Cox
Q4/09 SJ 9(4):648--651 (no commands)
tip on when a grid within a graph is appropriate

Nick
[email protected]

Andrew Stoddart

Does anyone know if/how it is possible to get the axis of a scatter
plot to appear within the graph when the plotted points cross zero?

Ie:

|
10 |
| x x
-----------x-------------x------
-10 x 0 | x 10
|
-10 |


Rather than

10 |
| x x
0 | x x
| x x
-10 |_____________________________________
-10 0 10


version: stata 12 IC

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





Andy Stoddart
Health Economist
Edinburgh Health Services Research Unit (HSRU)
www.hsru.ed.ac.uk

Edinburgh Clinical Trials Unit (ECTU)
Room D34, Level 2
Outpatients Building
Western General Hospital
Edinburgh, EH4 2XU

Tel: +44 (0)131 537 3867 (except Tuesdays)
+44 (0)131 650 3230 (Tuesdays only)

--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index