蓝色 发表于 2015-11-26 20:59 
我给你的链接
和程序上的例子,很明显直接就显示
不需要xlabel
如果只想显示特定的月份呢?我的时间变量已经format 了
我的code
twoway (line new70_index time2)(line CREIS100_hpi time2) ///
, ///
xlabel(552 558 564 570 576 582 588 594 600 606 612 618 624 630 636 642 648 654 ///
,angle(45)) ///
title("住宅价格指数(全国)") ///
ytitle("月度数据,基期为2005年7月") ///
xtitle("") ///
legend (label(1 "NBS70个大中城市房价指数") label(2 "百城住宅价格指数") ///
region(lcolor(white)) col(1) size(small) position(6) ring(0))