[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Option for repeating graph command

From   "Scott Merryman" <>
Subject   Re: st: Option for repeating graph command
Date   Sun, 27 Jul 2008 15:09:44 -0500

Add -yrescale- option to the -by()- statement:

-tw (connected price weight, sort), by(foreign, yrescale)-

See -help by option-


On Sun, Jul 27, 2008 at 12:46 PM, Philipp Rehm <> wrote:
> .
> Is there a way to ask Stata to use different y-scales when using a graph command (such as -twoway-) with the by-option?
> Example:
> sysuse auto, clear
> replace price=100*price if foreign==1
> tw (connected price weight, sort), by(foreign)
> I'd rather have the y-axis on different scales. At this point, I use -graph combine-. Something like:
*   For searches and help try:

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