Hi Statalist,
I am trying to make a bar chart in Stata with some very long labels on the y-axis. However, some of my labels are truncated when displayed in the graph (se example). I am sure there is a way of keeping the entire label in the graph, and I am hoping that maybe one of you can tell me how to do it.
Thanks in advance.
I use the following code:
graph hbar AAbw, ///
over (MeanP501) bar(1, color(black)) bar(2, color(gs8)) ///
over(study, label(labsize(tiny))) ///
over(country, label(labsize(vsmall)) gap(400)) nofill ///
ytitle("Acrylamide (μg/kg bw/day)", size(vsmall)) ///
title("Median/mean estimated acrylamide intake" ///
"based on DQ or both DQ and DR" ///
" ", span size(small) color(black)) ///
ysize(10) ///
xsize(7) ///
ylabel(0(0.1)0.9, labsize(vsmall)) ///
legend(size(vsmall)) ///
graphregion(color(white))
Array
Related Posts with Avoid truncation of axis labels in bar graph
how to compute marginal effects in NBSTRAT (truncated & endogenously stratified negative binomial) model? (Stata)Dear Stata users, I'm using STATA 16.0 to develop recreational demand function via using NBSTRAT mo…
Industry sigma codeIndustry sigma is the mean of standard deviations of cash flow over assets over 20 years, for firms …
Nested Logit - Coefficient InterpretationHi All, How do we interpret the results from a Nested Logit model? Taking the example that Stata u…
number of observationin my data I get different number of observation, how I make the number of observation same ? Arra…
ways to restrict data to certain wavesIn addition to using the command "if wave=certain number," is there another way to restrict data to …
Subscribe to:
Post Comments (Atom)
0 Response to Avoid truncation of axis labels in bar graph
Post a Comment