I am making a bar chart and am using the "over" option so that I can plot multiple bars for a series of dates (i.e. 3 different bars for t, 3 different bars for t+1, etc.) so that the bars are grouped. However, I have a lot of dates I am doing this for so I'd like to display only a selection of those dates on the x-axis. However, it seems I can only adjust things like the label angle, size, whether the location of the labels alternates, etc. but I cannot seem to control the number of ticks like I can with, say, a line chart in stata. I am just missing something simple about the over(label( ... ) ) syntax?
Additionally, I cannot get the dates I am using for the over(dates) option to display as quarterly dates-- they just show up as numbers. However, when I try over(label(format(%tq)), nothing happens. Any tips?
Related Posts with Number of ticks and format of labels on bar chart
Sobel test or bootstrapping for testing mediationDear everyone, I am testing a mediating model and after running my multiple fixed effects regressio…
using "program" command and applying the "program" createdHello, I created this program, which I am trying to apply in the code later: program fixK renvars …
Identifying 'nearest neighbours' without using teffectsHi, I have data for almost 7,000 organisations. I want to use say, 6 variables, to identify the 60…
create analytical/inverse variance weights for a variableDear all, I create a new topic here since my last topic is a bit unclear. I know how to tabulate t…
Forloops in panel data - am I indexing incorrectly?I am trying to use a loop in stata to achieve the following: My example data is below, but a brief …
Subscribe to:
Post Comments (Atom)
0 Response to Number of ticks and format of labels on bar chart
Post a Comment