Dear Statalist,
I am plotting a horizontal bar chart using catplot. Each categorical x axis label is quite long so I am trying to include them on several lines using splitvallabels. But due to their length, the labels overlap or must be tiny because I cannot increase the width of the 'text box' they are written within. I believe the solution might be to increase the size of the inner graph region.
I have tried to do this by modifying the aspect ratio using margins and other y/x axis ratio options but am failing (some examples below).
I wonder if anyone can advise how to increase the width of the labels so they can be included in 2 or 3 rows?
Thank you very much for any guidance.
Josh.
Array Array
Related Posts with Increasing inner graph region to allow longer categorical x axis labels without overlapping – catplot with splitvallabels
dummy variable in the two-way fixed effect modelI want to regress two-way fixed effect model with dummy variable using difference . the model look l…
Error r(900) - no room to add variables, up to 2048 variables are allowed, but I'm only using 340 variablesHello, I'm trying to add 9 variables (w_racel) for each wave of data (waves a to i) to a large data…
Time-series regression loop (approximately 250 regressions) and saving their coefficientsHi all, I've performed a time-series regression loop by using the following code (approximately 250…
traffic accident analyze by logistic regression or binomial regression with didhi everyone, I want to use annual road traffic accident data for analysis. Since the people who caus…
Loops within loopsDear everyone, I have trouble when create a loop to generate a new variable for my dataset. My data…
Subscribe to:
Post Comments (Atom)
0 Response to Increasing inner graph region to allow longer categorical x axis labels without overlapping – catplot with splitvallabels
Post a Comment