Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

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

From |
Nick Cox <njcoxstata@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: How to vertically align graphs with Stata 12 ? |

Date |
Sun, 12 Feb 2012 14:13:01 +0000 |

The thread you cite from 2003 concerns graphs from -graph hbar-. In that case the graphs are rather different from yours given Stata's use of categorical axes. As you have results from -line-, meaning -twoway line-, I would expect -graph combine- to give good results but it may require use of the -xcommon- option. In any case you don't give here _any_ exact syntax that would allow detailed comment on what you did. You already should have read this advice at http://www.stata.com/support/faqs/res/statalist.html#stata "Say exactly what you typed and exactly what Stata typed (or did) in response. N.B. exactly! If you can, reproduce the error with one of Stata's provided datasets or a simple concocted dataset that you include in your posting." Please follow it. Nick On Sun, Feb 12, 2012 at 12:15 PM, Francesco <cariboupad@gmx.fr> wrote: > I created 3 (sub)graphs using the -line command, where the x-axis > represents dates (months, years, etc), and I would like to align them > vertically. > That is obtaining one single graphical output that displays one > (sub)graph per row and with the following important feature : if you > draw an imaginary vertical line from a particular date of any graph > you should cut the x-axis of the other graphs at the same date... > > I tried with the -graph combine option, but it does not work properly > : there is a slight time lag probably due to y-axis labels... so the > graphs are not perfectly aligned.. > Also I found a thread which basically concludes that it is not obvious > to do this with Stata in a slightly different context : > (http://www.stata.com/statalist/archive/2003-12/msg00329.html) > > However this post was made in ... 2003 ! I am sure that some > improvements have been introduced since... * * 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 vertically align graphs with Stata 12 ?***From:*Francesco <cariboupad@gmx.fr>

**References**:**st: How to vertically align graphs with Stata 12 ?***From:*Francesco <cariboupad@gmx.fr>

- Prev by Date:
**re: Re: st: Best way to export a simple Stata model** - Next by Date:
**st: RE: statalist-digest V4 #4425** - Previous by thread:
**st: How to vertically align graphs with Stata 12 ?** - Next by thread:
**Re: st: How to vertically align graphs with Stata 12 ?** - Index(es):