I'm a newcomers with stata, and there is some trouble in making bar graph.
My data has 46 observations, and it has numeric variable for displaying year-month.
here is some code i had run:
Code:
graph bar fluct, over(year, label(labsize(vsmall) angle(45))) /// blabel(bar, size(vsmall) format(%9.1f) /// ) /// ytitle("Fluctuation") graphregion(color(white))
and the graph it produces:
Array
Four problems I want to solve:
1) The x-axis labels are too many so I want to display some labels (e.g. 201910, 202010, 202110, 202210). this graph aims to show that the fluctuation along specific month by year.
2) Similar with problem 1), I want to display some bar labels only ("blabel" option).
3) some bar labels are overlapped. I want to show it not overlapping
4) I want to coloring only last one.
I attach the data here. please some help.
0 Response to please help. making bar graph more simple with "over" options
Post a Comment