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
Related Posts with Add text to figure?
Error calculating marginal effects with a tobit modelI am looking at the effect of permitting standards, rebates, average income, and electricity price o…
Choosing the right modeling technique available in STATADear Stata Experts: I am working on an assignment to predict state policy on a particular issue. Th…
Contour plot cannot handle missing xHi all, As you can see from my code below, I only want to plot the cells with F statistics higher t…
subsetByVIF -- An ado file that selects a subset of covariates constrained by variance inflation factors (VIFs)subsetByVIF selects subsets of the covariates such that each covariate in a given subset has a VIF t…
subsetByVIF -- An ado file that selects a subset of covariates constrained by variance inflation factors (VIFs)subsetByVIF selects subsets of the covariates such that each covariate in a given subset has a VIF t…
Subscribe to:
Post Comments (Atom)
0 Response to Add text to figure?
Post a Comment