全文阅读:https://www.lianxh.cn/news/df9729c5de34d.html
目录
- 0. 引言
- 1. 多变量水平柱状图(Horizontal bar with multiple variables)
- 2. 两变量柱状图(Bar plot of two variables)
- 3. 两轴组合柱状图(Combined bar plots with two axes)
- 4. 并排水平柱状图(Side by side horizontal bar plot)(基于命令betterbar)
- 5. 两变量堆积柱状图(Stack bar graph by two variables)
- 6. 并排水平柱状图(Side by side horizontal bar plot)(基于命令weightab)
- 7. 带有变量分组、标准误差条和跨组比较的水平柱状图(Horizontal bar plot with grouping of variables, standard error bars, and cross-group comparisons)
- 8. 横向堆积柱状图(Horizontal stack bar plot)
- 9. 相关推文
- 相关课程
0. 引言
本文参考世界银行 stata-visual-library 提供的数据及代码,通过八个范例来介绍如何 绘制柱状图。部分范例有较长的数据生成过程,本文重点在于介绍如何绘制柱状图,故未做详细介绍。