全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
2255 3
2015-04-21
t <- seq(from=-3,to=3,by=0.01)
plot(t,dnorm(t),ylab="PDF")
plot(t,pnorm(t),ylab="PDF")
这个是画简单的PDF和CDF图,现在又如下要求:
plotthe probability density function and cumulative distribution function(Prob(T)<t) for the t-distribution with infinity, 10 and 1 degree offreedom.Make the y-limit of the first and second figure rangefrom 0 to 0.5 and 0 to 1 respectively. Make sure the main title is in a fonttwice the default size, the y-axes are labeled as shown, and the line types 1,2and 3 correspond to the t-distribution with Inf, 10 and 1 degree of freedomrespectively.
标题和两个坐标轴有一些要求,这个较好实现,但是在一张图上实现3个不同的自由度的绘图,然后要怎么实现呢,效果图如下所示:
前辈们,在具体的函数中要用到哪些参数,能指教一下吗,谢谢

二维码

扫码加我 拉你入群

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

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

全部回复
2015-4-22 15:40:11
此帖仅作者可见
二维码

扫码加我 拉你入群

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

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

2015-4-22 14:03:47
此帖仅作者可见
二维码

扫码加我 拉你入群

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

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

2015-4-21 23:10:27
此帖仅作者可见
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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