Hi, I'd like to insert text onto a plot using plotopts(twoway_options) feature in mcp. E.g.
sysuse auto, clear
gen inv_price = 1/price
logit foreign inv_price
sum price
range w1 r(min) r(max) 20
gen inv_w1 = 1/w1
mcp price (inv_price), var1(w1 (inv_w1)) show ///
plot(text(0.35 5000 "hello", place(e)))
This code produces the error "invalid point, hello". Does anyone know why this isn't working?
Thanks.
sysuse auto, clear
gen inv_price = 1/price
logit foreign inv_price
sum price
range w1 r(min) r(max) 20
gen inv_w1 = 1/w1
mcp price (inv_price), var1(w1 (inv_w1)) show ///
plot(text(0.35 5000 "hello", place(e)))
This code produces the error "invalid point, hello". Does anyone know why this isn't working?
Thanks.
Comment