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
Identify Specific Letter/Numeric from a String VariableDear all, I have a list of countryname and countrycode, as follow: countrycode countryname 004 …
Preference to FE or RE model with Driscoll-Kraay SEHello, Is there a similar test that I can run to the Hausman test, with FE/RE models with Driscoll-…
5-year average data and lagged variableHello, I am new to this forum and I am currently writing my bachelor's thesis in international econ…
Large data-cleaning and -appending exercise needs more efficiencyHello everyone, I am at my first attempt at importing, cleaning and appending a large amount of dat…
Time varying EWMA correlation matrixI am trying to calculate the time-varying EWMA correlation matrix in Stata when mean is not zero. C…
Subscribe to:
Post Comments (Atom)
0 Response to Avoid truncation of axis labels in bar graph
Post a Comment