Setting Chinese and English Fonts in Stata Figures

With the rise of the “building an independent knowledge system” trend, Chinese journals’ typesetting requirements are getting stricter1 — for example, table variables can’t contain English names. And there’s the long-standing requirement that figures use SimSun for Chinese and Times for English.
Stata’s graph box only supports setting one font uniformly, so the Chinese and English fonts need to be set separately in the code.
Coefficient Plots and Mixed Chinese-English Fonts
Use the local macro command to store the font commands.
| |
Then apply the corresponding settings in the graph, for example:
| |
The concrete code:
- Generate six y variables
- Generate one x variable
- Regress the six y variables on x (six regressions)
- Visualize the coefficients
The plot style is stcolor, the new default style added in Stata 18. I personally like the fully-enclosing frame2. I’d recommend setting both the label and font size to medium; otherwise it’s hard to see when you later combine figures.
| |

Edit - Preferences - Fonts, set each part of the figure to the font you want. After that, running it again should be recognized properly.This kind of visualization test is becoming more common. For example, is a city policy (a 0/1 binary variable) an exogenous shock3? You regress policy adoption on variables like city GDP, city population, and city economic growth rate — variables that are exogenous to the study and represent city characteristics. The theoretical meaning of the regression coefficient is then the average difference between pilot and non-pilot cities; if it’s insignificant, the difference is small, which to some extent tests whether the policy’s implementation is exogenous4.
Another issue with mixed Chinese-English typesetting is that the Times font sits a bit higher (for example, the x, y, and (a) in the figure titles), so it’s best to avoid mixing Chinese and English in titles.
If you want to show different coefficient terms across multiple regressions, just use the keep command to limit the coefficients:
| |

For the use of the coefplot command in event studies, see “Two Ways to Test Parallel Trends”.
By the way, the coefplot command was developed by Professor Ben Jann, who has also developed a series of very popular command packages.

Side Discussion: Do Different Disciplines Plot Differently?
My roommate is in electronic information engineering, and every time he sees my regression figures he wonders how a paper can get published with such plain graphs. But honestly, compared with all the fancy figures in biostatistics, information statistics, and health statistics, the most complex figure in economics — aside from GIS — is probably the coefficient plot in an event study; the rest is just big tables.

Still, there does seem to be a trend — coefficient plots are becoming more and more common.
Now look at the economics articles published in Nature and Science. Many of my teachers complain these papers couldn’t get into a top economics journal, yet they make it into Nature and Science — does that mean the discipline of economics is falling apart? I personally think they’re exploiting interdisciplinarity, and environmental and resource economics is especially good at cashing in on this bonus.
The figure styles in these papers are also completely different, closer to the plotting style and analytical paradigm of science and engineering.
Example: Ageing threatens sustainability of smallholder farming in China, published in Nature5.
This paper uses a panel model with survey data from over 30,000 rural households in China to explore the relationship between rural population aging (the share of household members over 65) and agricultural sustainability. It selects nine indicators to describe agricultural sustainability, including farm size, farmer education, labor productivity, total agricultural input and output, cost-profit margin, machinery input, fertilizer input, and fertilizer use efficiency (FUE).


Example 2: Climate policies that achieved major emission reductions: Global evidence from two decades, published in Science
(There are plenty more similar Chinese environmental-economics papers out there)
This paper conducts a global, systematic ex-post evaluation to identify the policy combinations that achieved major emission reductions among 1,500 climate policies implemented in 41 countries across six continents from 1998 to 2022. Our approach combines a comprehensive climate policy database with a machine-learning-based extension of the common difference-in-differences method. We identify 63 successful policy interventions, with total reductions of between 0.6 and 1.8 billion metric tons of CO2. Our insights into effective but rarely studied policy combinations highlight the important role of price-based instruments in well-designed policy mixes, and the policy effort needed to close the emissions gap.

Many universities are now raising the reward level for Chinese-language publications and lowering it for English-language ones. ↩︎
A teacher once told me the figure frames should be very thin, because thick ones look bad in print — though most top journals I’ve seen use thick outer borders. Either way, I’d recommend a medium font size to balance clarity and looks. ↩︎
The exclusion restriction of instrumental variables and the exogeneity of explanatory variables are getting more attention, and tests of random assignment are becoming more common. ↩︎
Of course, this is only a test of a necessary condition — all econometric tests are necessary conditions, not sufficient ones. That’s why some people think econometrics is just a discipline of persuasion, convincing people that something might be a sufficient condition by piling up countless necessary conditions. ↩︎
Science and Nature papers have always been very short, sometimes with no appendix at all — the exact opposite of the trend in economics. ↩︎
