I want to draw a twoway scatter plot with linear fitted line, the initial graph is like

Notice that the on the x-axis, there is only two labels, represent the minimum and maximum of the variable: floor growth rate. I want to add a more "dense" xlabels using xlabel() option
However, the new option makes no change, and even I rewrite the xlabel() option like, the outcome is the same
I don't know why, maybe I miss something. So please give me some clue, thanks in advance.
By the way, I use Stata13MP
Notice that the on the x-axis, there is only two labels, represent the minimum and maximum of the variable: floor growth rate. I want to add a more "dense" xlabels using xlabel() option
HTML Code:
twoway (scatter share floor_growth if deficit_quart<=1&share>0,mcolor(black) ) /// (scatter share floor_growth if deficit_quart>=3&share>0,mcolor(gs10) ) /// (lfit share floor_growth if deficit_quart<=3&share>0) /// (lfit share floor_growth if deficit_quart>3&share>0), /// title("LGFV's share") /// xtitle("floor growth rate", margin(medsmall)) /// ytitle("LGFV purchasing share") /// xlabel(-7.5(0.05)1.0, labsize(small)) /// legend(order(1 "低债务约束" 2 "高债务约束" /// 3 "非参拟合(低债务)" 4 "非参拟合(高债务)")) /// xlabel(minmax)
HTML Code:
xlabel(#10,labsize(small))
By the way, I use Stata13MP
Comment