Skip to content

Commit

Permalink
Merge pull request #272 from worldbank/iegraph-label-iisue271
Browse files Browse the repository at this point in the history
Iegraph label issue271
  • Loading branch information
kbjarkefur authored Apr 19, 2022
2 parents 880cc03 + 2d9cc69 commit ac97524
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/ado_files/iegraph.ado
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ cap program drop iegraph
local confIntGraph = ""
}
else if `CONFINT_BAR' == 1 {
local confIntGraph = `"(rcap conf_int_max conf_int_min position, lc(gs)) (scatter mean position, msym(none) mlabsize(`mlabsize') mlabposition(`mlabposition') mlabcolor(`mlabcolor'))"'
local confIntGraph = `"(rcap conf_int_max conf_int_min position, lc(gs)) (scatter mean position, msymbol(none) mlabsize(`mlabsize') mlabposition(`mlabposition') mlabcolor(`mlabcolor'))"'
}

*Create the bar label
Expand All @@ -462,7 +462,7 @@ cap program drop iegraph
format label %9.1f
}

local barLabel = `"(scatter mean position, msym(none) mlab(label) mlabposition(`mlabposition') mlabcolor(`mlabcolor'))"'
local barLabel = `"(scatter mean position, msymbol(none) mlab(label) mlabsize(`mlabsize') mlabposition(`mlabposition') mlabcolor(`mlabcolor'))"'
}

local titleOption `" , xtitle("") ytitle("`e(depvar)'") "'
Expand Down
21 changes: 17 additions & 4 deletions src/help_files/iegraph.sthlp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,23 @@ command please see the {browse "https://dimewiki.worldbank.org/wiki/Iegraph":DIM

{phang2}
{cmdab:iegraph} {varlist}
, [ {cmdab:basicti:tle(}{it:string}{cmd:)} {cmdab:varl:abels}
{cmdab:save(}{it:string}{cmd:)} {cmdab:gray:scale} {cmdab:yzero}
{cmd:noconfbars} {cmdab:confbarsnone(}{it:varlist}{cmd:)} {cmdab:confintval(}{it:numlist}{cmd:)}
{cmd:norestore} {cmdab:baropt:ions(}{it:string}{cmd:)} {cmdab:ignoredummytest}
, [
{cmdab:basicti:tle(}{it:string}{cmd:)}
{cmdab:varl:abels}
{cmdab:save(}{it:string}{cmd:)}
{cmdab:gray:scale}
{cmdab:yzero}
{cmdab:barl:abel}
{cmdab:mlabc:olor:(}{it:{help colorstyle:colorname}}{cmd:)}
{cmdab:mlabp:osition:(}{it:{help clockposstyle:clockpos}}{cmd:)}
{cmdab:mlabs:ize:(}{it:{help textsizestyle:size}}{cmd:)}
{cmd:barlabelformat}
{cmd:noconfbars}
{cmdab:confbarsnone(}{it:varlist}{cmd:)}
{cmdab:confintval(}{it:numlist}{cmd:)}
{cmd:norestore}
{cmdab:baropt:ions(}{it:string}{cmd:)}
{cmdab:ignoredummytest}
{it:{help scatter##twoway_options:twoway_scatter_options}}
]

Expand Down

0 comments on commit ac97524

Please sign in to comment.