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

From |
David Airey <david.airey@vanderbilt.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: how to remove axis margin from plot |

Date |
Thu, 12 Feb 2009 19:42:50 -0600 |

. This doesn't seem to work when combined with -aspect(1)- option. -Dave On Feb 12, 2009, at 2:16 PM, Scott Merryman wrote:

twoway line x x, xlabel(1(1)10) ylabel(1(1)10)graphregion(margin(zero ))or twoway line x x, xlabel(1(1)10) ylabel(1(1)10) plotr(m(zero)) graphregion(margin(zero )) ScottOn Thu, Feb 12, 2009 at 1:16 PM, Hiroyuki Kawakatsu <hkawakat@gmail.com> wrote:Hi, How can I prevent Stata from adding some extra spaces in the axis margin at both ends of a plot? The closest I can get is drop _all set obs 10 gen x = _n twoway line x x, plotr(m(zero)) The resulting graph has the x-axis margin on the right removed (which is what I want) but not on the left. How can I get a plot with x-axis that starts at x=1, not x=0? (For those who know R, I am looking for an equivalent of the xaxs="i" option as in plot(1:10, xaxs="i") Thanks, h.* * 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/

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

**Follow-Ups**:**Re: st: how to remove axis margin from plot***From:*Scott Merryman <scott.merryman@gmail.com>

**References**:**st: how to remove axis margin from plot***From:*Hiroyuki Kawakatsu <hkawakat@gmail.com>

**Re: st: how to remove axis margin from plot***From:*Scott Merryman <scott.merryman@gmail.com>

- Prev by Date:
**Re: st: a graph named "new"** - Next by Date:
**Re: st: panel-level heteroskedasticity** - Previous by thread:
**Re: st: how to remove axis margin from plot** - Next by thread:
**Re: st: how to remove axis margin from plot** - Index(es):

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