I have the following code that plots my coefficient :
Code:
coefplot /// (M_Model_BRA_S1, ms(o) mcolor(ebblue) ciopts(recast(rcap) color(ebblue)) mlabels(1.GP = 1 "Basic Metals") mlabcolor(black)) /// (M_Model_BRA_S2, ms(o) mcolor(gold) ciopts(recast(rcap) color(gold)) mlabels(1.GP = 1 "Chemicals") mlabcolor(black)) /// (M_Model_BRA_S3, ms(o) mcolor(gold) ciopts(recast(rcap) color(gold)) mlabels(1.GP = 1 "Coke, fuel, nuclear, petrol") mlabcolor(black)) /// (M_Model_BRA_S4, ms(o) mcolor(ebblue) ciopts(recast(rcap) color(ebblue)) mlabels(1.GP = 1 "Electrical") mlabcolor(black)) /// (M_Model_BRA_S5, ms(o) mcolor(ebblue) ciopts(recast(rcap) color(ebblue)) mlabels(1.GP = 1 "Fabricated metal products") mlabcolor(black)) /// (M_Model_BRA_S6, ms(o) mcolor(gold) ciopts(recast(rcap) color(gold)) mlabels(1.GP = 1 "Food & beverages") mlabcolor(black)) /// (M_Model_BRA_S7, ms(o) mcolor(black) ciopts(recast(rcap) color(black)) mlabels(1.GP = 1 "Furniture") mlabcolor(black)) /// (M_Model_BRA_S8, ms(o) mcolor(black) ciopts(recast(rcap) color(black)) mlabels(1.GP = 1 "Leather & footwear") mlabcolor(black)) /// (M_Model_BRA_S9, ms(o) mcolor(ebblue) ciopts(recast(rcap) color(ebblue)) mlabels(1.GP = 1 "Machinery & equiment") mlabcolor(black)) /// (M_Model_BRA_S11, ms(o) mcolor(ebblue) ciopts(recast(rcap) color(ebblue)) mlabels(1.GP = 1 "Motor vehicles & trailers") mlabcolor(black)) /// (M_Model_BRA_S12, ms(o) mcolor(gold) ciopts(recast(rcap) color(gold)) mlabels(1.GP = 1 "Non-metallic mineral") mlabcolor(black)) /// (M_Model_BRA_S15, ms(o) mcolor(gold) ciopts(recast(rcap) color(gold)) mlabels(1.GP = 1 "Paper products") mlabcolor(black)) /// (M_Model_BRA_S16, ms(o) mcolor(black) ciopts(recast(rcap) color(black)) mlabels(1.GP = 1 "Printing & publishing") mlabcolor(black)) /// (M_Model_BRA_S19, ms(o) mcolor(black) ciopts(recast(rcap) color(black)) mlabels(1.GP = 1 "Rubber & plastics") mlabcolor(black)) /// (M_Model_BRA_S20, ms(o) mcolor(black) ciopts(recast(rcap) color(black)) mlabels(1.GP = 1 "Textiles") mlabcolor(black)) /// (M_Model_BRA_S23, ms(o) mcolor(black) ciopts(recast(rcap) color(black)) mlabels(1.GP = 1 "Wearing apparel & fur") mlabcolor(black)) /// (M_Model_BRA_S24, ms(o) mcolor(gold) ciopts(recast(rcap) color(gold)) mlabels(1.GP = 1 "Wood products") mlabcolor(black)) /// , /// ysize(5) legend(off) ylabel(none) /// xsize(5) xlabel() /// xline(0, lcolor(black) lpattern(solid)) /// title("{bf: Brazil}", color(black) margin(bottom) size(3.5)) /// horizontal /// graphregion(color(white)) graph save "$dirrfigs\Model 4\Brazil.gph", replace graph export "$dirrfigs\Model 4\Brazil.png", replace
Array
I would have like to move horizontally some of my label; I have tried mlabpositition without success, any idea?
0 Response to How to change label position with coeffplot ?
Post a Comment