Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 73244

change label in y-axis/x-axis?

$
0
0
Dear All, I have the following code (please ssc install coefplot) and graph:
Code:
webuse grunfeld, clear
tab year, gen(dy)
reg invest dy*, nocon
coefplot, xline(0) msymbol(s) mfcolor(white) ci(50 box) ciopts(recast(rcap))
and
Array

My question is: how can I change the label in vertical axis from (say) "year== 1935.0000" to only "1935"?

Similarly, the following code
Code:
tab year, gen(dy)
reg invest dy*, nocon
coefplot, yline(0) vertical msymbol(s) mfcolor(white) ci(50 box) ciopts(recast(rcap))
generatesArray
My additional question is: how can I change the label in horizontal axis to be visible?

Viewing all articles
Browse latest Browse all 73244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>