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?
calculating and graphing marginal effects from logit with interaction effect of two categorical variables Code: * Example generated by -dataex-. To install: ssc install dataex clear input byte(owndecision…
How to present vignettes in a tabular formatHello everyone, Could you please help me to present vignettes in a tabular format rather than a run…
using "spmap"Hi guys, I am trying to map the result by using "spmap" command, yet keep having troubles with the …
Writing loop for multiple regressionsI have 10 dependant variables, y1-y30, and its respective lagged variables, lagy1-lagy30. I would li…
FMM lcprob variablesHello experts, In FMM (finite mixture models), our main models(s) could have certain IVs. Then, I c…
Subscribe to:
Post Comments (Atom)
0 Response to Add text to figure?
Post a Comment