1命令如下等高线指的是地形图上高程相等的相邻各点所连成的闭合曲线,多用于对海拔、降雨量或气温的描述。本文简单介绍在Stata中如何绘制该曲线。
1)设定工作环境
clear
cd F:\Dropbox\stata13\graphics
2)导入数据
use sandstone
3)绘制图像
#delimit ;
twoway contour depth northing easting,levels(15)
crule(linear) scolor(red) ecolor(yellow) ;
#delimit cr
2输出如下
http://mp.weixin.qq.com/s?__biz=MzA4NTAyMjQ2Mg==&mid=207110931&idx=1&sn=88c1ed0dd264ea61e6604617a121d190#rd