Hello,
I would like to plot a bar graph over time, and am facing some difficulties plotting.
Here is part of the data I am using:
If I use the codes:
I have too many ticks in the x-axis (date_1). I was wondering if there is a way to have only a few ticks and the dates are in format "July 04", "August 01" etc.
Thank you very much for your response!
I would like to plot a bar graph over time, and am facing some difficulties plotting.
Here is part of the data I am using:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input int total_case float date_1 0 22068 0 22068 0 22069 1 22068 2 22072 0 22070 0 22069 1 22068 0 22070 2 22071 0 22069 0 22069 12 22098 0 22068 0 22068 0 22068 2 22073 2 22074 0 22068 35 22106 0 22068 45 22069 0 22069 2 22077 0 22068 6 22093 0 22068 0 22068 0 22068 19 22094 0 22070 0 22068 1 22068 0 22069 0 22068 0 22068 14 22087 2 22093 0 22069 0 22076 0 22068 0 22069 0 22068 14 22087 0 22068 1 22071 0 22068 1 22069 1 22069 0 22068 1 22069 0 22068 1 22068 0 22068 end format %td date_1
Code:
graph bar total_case, over(date_1)
Thank you very much for your response!
Comment