Statalist


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

Re: st: how to remove axis margin from plot


From   Hiroyuki Kawakatsu <hkawakat@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: how to remove axis margin from plot
Date   Fri, 13 Feb 2009 13:46:01 +0000

> 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 ))

Thanks Scott. It is unfortunate that the solution requires knowledge
of the range of data values that x can take. It would be nice if we
can retain the default label positions in the interior of the axis.

h.
-- 
+---
| Hiroyuki Kawakatsu
| Business School, Dublin City University
| Dublin 9, Ireland. Tel +353 (0)1 700 7496
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index