Hi everyone:
I'm trying to add a couple of text labels to my figure, which shows two normal distributions. I'd like to add the labels H_0 and H_a to these. Here's the code I wrote but the text doesn't show up. I'd appreciate any suggestions you might have.
// Graph beta, the probability of making a type II error
#delimit;
twoway
function y=normalden(x,0.031,0.0007), range(0.0283509 0.0316491) ///
bcolor(gs12) recast(area) ||
function y=normalden(x,0.030,0.0007), range(0.0272 0.0328) ///
clstyle(foreground) ||
function y=normalden(x,0.031,0.0007), range(0.0282 0.0338) ///
graphregion(color(white)) clstyle(foreground) ||,
plotregion(style(none))
legend(off)
xtitle("Mean sulfur dioxide concentration (ppm)")
xlabel(0.0284 0.0300 0.0310 0.0317, format(%6.4f))
ylabel(none)
yscale(off);
text(0.0317 206 "Ha", place(ne))
#delimit cr
0 Response to Add text to figure?
Post a Comment