Hello all,
I need to that all negative values are expressed with an "endash" symbol (–) instead of an hypen (-). While I managed to do it for the x-axis labels, I also need it for the marker labels. Below an example of what I mean.
Thank you very much!
Stefan
I need to that all negative values are expressed with an "endash" symbol (–) instead of an hypen (-). While I managed to do it for the x-axis labels, I also need it for the marker labels. Below an example of what I mean.
Code:
sysuse auto, clear
eststo price_sto: reg price mpg headroom foreign
local endash = ustrunescape("\u2013")
dis "I want mlabel to be `endash'303.82 instead of -303.82 for negative values"
coefplot ///
(price_sto, mc(navy) msize(*1.5) mlabel mlabformat(%9.2f) mlabp(12) mlabc(black) ciopts(recast(rcap) lc(gs6))), ///
keep(mpg) ///
ylabel(none) ///
drop(_cons)
Stefan

Comment