Code:
histogram date_onset, bin(17) frequency fcolor(dknavy) lcolor(dknavy) lpattern(blank) ytitle(No. of Cases) ytitle(, orientation(horizontal)) ylabel(, angle(horizontal) nogrid) xtitle(Date of Onset) xlabel(#17, format(%tdDD)) graphregion(margin(large) fcolor(white))
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input byte age str6 sex float date_onset 49 "male" 22549 71 "male" 22551 15 "female" 22552 58 "female" 22552 22 "male" 22552 22 "male" 22552 1 "male" 22552 30 "female" 22552 25 "male" 22552 5 "male" 22553 12 "female" 22553 33 "male" 22554 28 "male" 22554 82 "female" 22554 20 "male" 22554 10 "male" 22554 21 "female" 22554 21 "female" 22554 12 "female" 22554 23 "female" 22554 end format %td date_onset
0 Response to Histogram - adjusting the start of the x axis
Post a Comment