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?
Request for second-opinion on Stata code and suggestion on how to see AAR per day (with t-stat)Second-opinion on Stata-code and request for suggestions on how to see AAR per day Hi all, Thank…
SummarizeHello, I would like to summarize for each year in (total_region_share1978, total_region_share1979, …
set scheme plotplainI am trying to set the scheme plotplain but STATA simply doesn't accept it. The error message says "…
Loop missingness at randomHi everyone, I'm trying to check whether my missing values are missing at random. I have 24 variabl…
Creating subsets from appended databaseI am interested in creating subsets from the appended dataset using uniquely identified ID. An examp…
Subscribe to:
Post Comments (Atom)
0 Response to Add text to figure?
Post a Comment