24小时热门版块排行榜    

查看: 481  |  回复: 1

yctv0717

新虫 (初入文坛)

[求助] matlab画图求助

matlab画图求助
上面那个图怎么用matlab画出来
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

bucheron

金虫 (小有名气)

【答案】应助回帖

★ ★ ★ ★ ★
感谢参与,应助指数 +1
1592203609: 金币+5, 谢谢回帖 2013-11-27 17:19:30
使用 errorbar 命令
使用 plot::rectangle 来画矩形
例如

plot(plot::Rectangle(0..1, 2..3, Filled = TRUE,
                     FillPattern = Solid,
                     FillColor = RGB::Red),
     plot::Rectangle(1..2, 2..3, Filled = TRUE,
                     FillPattern = CrossedLines,
                     FillColor = RGB::Green),
     plot::Rectangle(2..3, 2..3, Filled = TRUE,
                     FillPattern = XCrossedLines,
                     FillColor = RGB::Blue),
     plot::Rectangle(0..1, 1..2, Filled = TRUE,
                     FillPattern = HorizontalLines,
                     FillColor = RGB::Orange),
     plot::Rectangle(1..2, 1..2, Filled = TRUE,
                     FillPattern = VerticalLines,
                     FillColor = RGB::Violet),
     plot::Rectangle(0..1, 0..1, Filled = TRUE,
                     FillPattern = DiagonalLines,
                     FillColor = RGB::Brown),
     plot::Rectangle(1..2, 0..1, Filled = TRUE,
                     FillPattern = FDiagonalLines,
                     FillColor = RGB::Cyan))
Born to suffer !Born to burn!
2楼2013-11-27 15:56:50
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 yctv0717 的主题更新
信息提示
请填处理意见