[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: problem adding textbox to graph with 2 y axes
"Brian Wells Pence" <firstname.lastname@example.org> 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?
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
end of do-file
* For searches and help try: