全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
4018 2
2010-11-09
哪位高手能解释下其中的sort clpattern( -),  margin(zero)),  text(1300 25 "open")这三个命令分别是做什么用的?

twoway (line open close n in 1/50,sort clpattern( -)) , plotregion(margin(zero)) title("twoway line") xtitle("date") ytitle("price") legend(label(1 "open") label(2 "close") order(2 1) ring(0) pos(8)) text(1300 25 "open")
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2010-11-10 01:14:57
真的很建议楼主多查查书,或者利用help查查,或者查查手册。
以下是我查到的一些片断内容
1.
sort[(varlist)]  how to order data before connecting
help linepatternstyle

2.
region options — Options for shading and outlining regions and controlling graph size
If you do not want the axes offset from the contents of the plot, specify
plotregion(margin(zero)).

3.
text() adds the specified text to the specified location in the plot region.

1. 在连接变成线时,排一排,并用----------这样连
2. 调控资料在作图边界的状况【请自行看手册,那样设时,资料点就算是很远很远,也会落在作图区的边界上,而不会被包在作图区里面】
3.那样做通常是设定一些outlier(异常值)的情况(前面那些数字是标出位置),然后里面会有一些文字以说明那是异常值

以上是我个人的理解,也许有错,请见谅!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-11-10 20:03:12
2# h3327156
多谢你啦,真是好人~~!!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群