#480 On statsby
puts the command string into the metadata; where would you like it to go?
Code:
label data "`e(cmd)'"
puts the command string into the metadata; where would you like it to go?
statsby model=“my first model” _b _se...
order(1 “Miles per gallon" 2 “Length in inches” 3 “Price in dollars”)
order(1.1 “Miles per gallon" 2.1 “Length in inches” 3.1 “Price in dollars”)
sysuse auto, clear set graph off twoway /// (scatter mpg weight, mcolor(blue)), /// name(panel1, replace) twoway /// (scatter length weight, mcolor(red)), /// name(panel2, replace) twoway /// (scatter price weight, mcolor(green)) /// (lfit price weight, lcolor(green)), /// name(panel3, replace) twoway /// This is the dummy graph from which we take the legend (scatter mpg weight, mcolor(blue)) /// (scatter length weight, mcolor(red)) /// (scatter price weight, mcolor(green)) /// (lfit price weight, lcolor(green)), /// name(panel4, replace) set graph on grc1leg2 panel1 panel2 panel3 panel4, /// title("Assemble the legend keys from different panels" "to construct the combined legend") /// xtob1title legendfrom(panel4) hidelegendfrom /// pos(4) ring(0) lxoffset(-10) lyoffset(15) /// name(grc1hide, replace)
twoway histi 0 .4 1 .3 2 .2 3 .1, [standard twoway hist options]
Comment