生成上图的Stata命令如下: * Figure: Horizontal bar plot with grouping of variables, standard error bars, and cross-group comparisons * Replication file for: * Satyanarayana S, Kwan A, Daniels B, Subbaraman R, McDowell A, Bergkvist S, Das RK, Das V, Das J, Pai M. * Use of stand...
阅读全文
生成上图的Stata代码如下: * Figure: horizontal stack bar plot global graph_opts1 /// title(, justification(left) color(black) span pos(11)) /// graphregion(color(white) lc(white) la(center)) ///
阅读全文
生成上图的Stata代码如下: * Figure:Side by side horizontal bar plot (Outcomes by City & Case) using weightab global graph_opts /// title(, justification(left) color(black) span pos(11)) /// graphregion(color(white) lc(white) lw(med) la(center)) ///
阅读全文
* Replication file for: * Satyanarayana S, Kwan A, Daniels B, Subbaraman R, McDowell A, Bergkvist S, Das RK, Das V, Das J, Pai M. * Use of standardised patients to assess antibiotic dispensing for tuberculosis by pharmacies in urban India: * A cross-sectional study. * The Lanc...
阅读全文
* Figure: combined bar plots with two axes * Load data * --------- use "http://ds.epiman.cn/uploads/2022/06/bar-two-axes.dta", clear * Adjust variable for bar position gen x = int1mo+.5 * Create individual graphs * ------------------------ foreach foodGroup in animal fruit gra...
阅读全文
Replication file for: Satyanarayana S, Kwan A, Daniels B, Subbaraman R, McDowell A, Bergkvist S, Das RK, Das V, Das J, Pai M. Use of standardised patients to assess antibiotic dispensing for tuberculosis by pharmacies in urban India: A cross-sectional study. The Lancet Infecti...
阅读全文
* Figure: Horizontal bar with multiple variables global graph_opts /// title(, justification(left) /// color(black) span pos(11)) /// graphregion(color(white)) /// ylab(,angle(0) nogrid) /// xtit(,placement(left) justification(left)) /// yscale(noline) xscale(noline) /// legen...
阅读全文
上图的Stata代码如下: * Figures: bar plot of two variables global graph_opts1 bgcolor(white) graphregion(color(white)) /// legend(region(lc(none) fc(none))) ylabel(,angle(0) nogrid) /// title(, justification(left) color(black) span pos(11)) /// subtitle(, justification(left) c...
阅读全文