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?
random fixed effect model of panel dataHi,
I am trying to anlysis an (unbalanced) panel data which covers around 6000 companies (79000 fri…
glm: individual contribution to log-likelihoodDear Statalisters,
is there a way to obtain the individual contribution to the log-likelihood when u…
tsline command with maximum observationsDear Stata community,
I am running the tsline command for a graph of average male unemployment by c…
-catplot-: Suppress automatic title under x-axis?Dear all,
I am creating a graph much like this:
Code:
sysuse auto, clear
catplot rep78, over(forei…
Generating a change score variableHi Statalist,
I am trying to generate a change score that captures changes in labour force particip…
Subscribe to:
Post Comments (Atom)
0 Response to Add text to figure?
Post a Comment