Richard,
true, but then the final graph misses the y axis.
Antoine
Richard Ochmann wrote:
> Antoine,
> I dont find unevenly spaced x-axes for the subgraphs if I put them all
> (including the first one) in the loop you provided:
>
> ***
> cd C:/temp/
> local list ""
>
> local t=1
> while `t'<=15 {
> twoway (hist wage if t==`t', fcolor(gs14) plotr(m(zero))
> graphregion(margin(zero) color(white)) xlabel(0 "`t'") xtitle("")
> yscale(off) xtitle("") ylabel(0(5)20 , grid gmin gmax) horiz) (line med
> q95 q5 ti if t==`t', sort xaxis(2) yaxis(2) ylabel(0(5)20, axis(2))
> lcolor(black black black) lwidth(thick thick thick) lpattern(solid solid
> solid) xscale(off axis(2)) yscale(off axis(2)) ) , legend(off)
> saving(a`t', replace)
> local list "`list' a`t'.gph"
> di "`list'"
> local t=`t'+1
> }
> graph combine `list', imargin(0 0 0 0) row(1) graphregion(color(white))
> note(t, pos(6))
> ***
>
> best, rich
--
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.
*
* 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/