From | "Michael Blasnik" <[email protected]> |
To | <[email protected]> |
Subject | st: Re: problem adding textbox to graph with 2 y axes |
Date | Thu, 27 Oct 2005 10:01:53 -0400 |
"Brian Wells Pence" <[email protected]> wrote:
I'm trying to add a text box to a graph that has 2 y axes with different scales. I can add the text to a single graph, and I can add the text to a graph with 2 y variables if they are on the same axis, but when I add a second y axis I get a mystifying error message. I've replicated the problem below using the auto.dta dataset; commands and log are below. Am I doing something wrong?
Thanks,
Brian
<snip>.
I tried this last graph command and it worked fine for me (Stata/SE 9.1).. twoway scatter mpg weight, text(41 2040 "VW Diesel", place(e)) || ///scatter turn weight, yaxis(2)text() option invalid, specified axis pair (1 1) not in graph invalid syntax invalid syntax invalid syntax r(198); end of do-file r(198);
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |