1、首先,安装并打开Stata软件。
3、导入Stata示例数据标普500指数,命令为:sysuse sp500, clear
5、最后,分颜色绘图即可。输入命令:drarea high low high2 low2 date in 1/20