I have a continuous clock variable, with a cumulative count over time.
I want to plot the counts over time. I want the x-axis (time/clock) to bin by day of the month.
twoway scatter screen_cum screen_clock, xlabel(#23, format(%tcD))
But Stata insists on only displaying 19 daily bins on the x-axis. How can I force one per day?
I'm guessing it's doing something it thinks looks nice, and putting a tick every 1.15 days or something, in an arbitrary position within a day.
Ideally, I would have them binned with labels as in Dr. Cox's Stata Tip 55, but I think this is beyond me for now.
Thanks much!
Array
Related Posts with Bin by day on x-axis from clock
Help MCO vs PPML (Ramsey Test)Hi, I am trying to estimate a gravity equation. I have used MCO and PPML. However, the MCO results …
what is the test after ppml? help needed, thank youDear Joao, I am doing a Gravity Model estimating the export potential of China tea to other countrie…
Replace the value of one variable with the value of different variableHi all, I am trying to code used to replace values of one variable with other values from different…
The first stage outcome estimated by "ivreg2 savefirst" different from its OLS estimationI use two specifications to estimate the first stage for the relationship between the endogenous var…
twoway bar option over() not allowedHello, I am trying to combine a clustered-type bar chart with a scatter plot (I know it's an odd co…
Subscribe to:
Post Comments (Atom)
0 Response to Bin by day on x-axis from clock
Post a Comment