Hi i created this bar chart using the bar chart option within the data tab in stata and i produced this:
Array [ATTACH]temp_14307_1556793831716_952[/ATTACH]
the data for my income predictor is as follows:
Example generated by -dataex-. To install: ssc install dataex
clear
input double p344p
615.33
602.11
1735.59
876
1228.814
713.184
253.15
1956.725
730.41
194.9
741.76
379.2507692307692
1536.57
1269.43
314.394
1343.825
661.7158974358974
655.1025
680.462
536.8
196.142
309.69
562.302
514.62
1119.865
404.152
144.042
512.992
682.44
303.48
540.27
1956.725
332.252
564.6265
734.052
1956.725
194.914
197.912
507.115
507.55
406.56
356.869
696.885
390.3
1004.0153846153846
466.38
1956.725
955.5225
330.424
919.78
888.65
1020.8195
601.584
665.37
86.5
748.27
292.894
960.974
552.072
732.46
660.142
452.25
442.574
495.4175
721.15
74.77
593.96
392.34
481.042
252.35
518.07
387.03
1956.725
991.28
359.732
820.074
154.002
559.52
148.122
810.04
150.192
472.51935897435897
1307.8
363.752
1044.97
180.78
1892.695
291.062
1072
676.71
713.75
772.292
886.3558974358974
1500.95
447.834
305.87
364.06
189.412
1956.725
681.88
end
[/CODE]
However as seen on the graph i attached, each bar represents an income of around £40 a week however i want to increase the width of the bar so that in total each bar represents a higher proportion of income- preferably each bar representing £200. How do i do this?
Thank you
Related Posts with bar chart width of bars
runby: requirements for group variable?** This post references a previous forum discussion (https://www.statalist.org/forums/node/1484556) …
Using a loop to compare observations of a variableHi All, I have a dataset which looks something like below: ID Amount month max_amount max_month N…
Kaplan Meier risk table problemDear Statalist, I am using Stata 14.2 on Mac. I have created a propensity score IPT weighted sample…
Iv-ppmlI am trying to implement IV-PPML in stata and fairly new to this command. I am using the “ivpoisson”…
About unbalanced panel(I have a data set , 12 countries and a period of 10 years which of them have different year period, …
Subscribe to:
Post Comments (Atom)
0 Response to bar chart width of bars
Post a Comment