全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件
7625 5
2010-09-11
悬赏 5 个论坛币 已解决
经常看到券商研究报告中有关于趋势预测和经济周期的分析,对于一些图片的生成不是很清楚:

(1)一些研究者用阴影部分将若干小周期或特定时段的趋势区分开来(如下图所示),不知道图表里的阴影部分是怎么搞出来的?用的excel就能做到吗?还是需要matlab的一些技巧?





2008226161254195.jpg



(2)还有人在周期图上用圆圈把波峰和波谷标出来,或加上文字说明,请问怎么做到的?Photoshop吗?

请将上面两个问题回答全了,谢谢!

最佳答案

warecucff 查看完整内容

matlab: (1) create business cycle indicator (e.g. ind=zeros(100,2); ind(1:50,1)=-1000; ind(1:50,2)=2000) (2) use the "area" command in matlab to shade the area (e.g. area(date,ind)) (3) hold the figure (4) plot the time series (5) adjust your axis properly (6) adjust the color using "colormap" command (7) output the figure
二维码

扫码加我 拉你入群

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

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

全部回复
2010-9-11 10:09:46
matlab:
(1) create business cycle indicator (e.g. ind=zeros(100,2); ind(1:50,1)=-1000; ind(1:50,2)=2000)
(2) use the "area" command in matlab to shade the area (e.g. area(date,ind))
(3) hold the figure
(4) plot the time series
(5) adjust your axis properly
(6) adjust the color using "colormap" command
(7) output the figure
二维码

扫码加我 拉你入群

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

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

2010-9-11 13:36:00
自己顶一下!
二维码

扫码加我 拉你入群

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

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

2010-9-12 09:10:14
3# warecucff
非常感谢!我看看有没有其他答案
然后再做决定
二维码

扫码加我 拉你入群

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

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

2011-11-18 20:37:52
能不能用stata 做啊
二维码

扫码加我 拉你入群

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

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

2013-3-8 16:12:04
我最近也遇到了相似的麻烦,我想画住宅价格周期图,但不知道如何画啊
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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