Hi! I am very new to visualizing data through Stata.
I have used this code below to create my bar chart:
The resulting graph is this:

In the label section, the variable names come as "sum of maize", etc. I want to only keep them as "maize," removing "sum of" in the beginning. Could you inform me how I can do that? I have checked out write-ups on bar charts, but they do not address this explicitly.
Thanks!
I have used this code below to create my bar chart:
Code:
graph bar (sum) maize (sum) beans (sum) potato (sum) peas, over(place) ytitle(Frequency) title(Frequency of Crop Types by Region)
In the label section, the variable names come as "sum of maize", etc. I want to only keep them as "maize," removing "sum of" in the beginning. Could you inform me how I can do that? I have checked out write-ups on bar charts, but they do not address this explicitly.
Thanks!
Comment