登录论坛

查看完整版本 : [求助]这图怎么画?


ysjxj
2008-08-25, 15:46
这图怎么画?用MATLAB
请问两组对比的数据要画成条形,怎么画啊?
第一组数据为[0.9986 0.8569 0.6291 0.9278 0.4854 0.5146 1.0213 1.1024]
第二组数据 [0.7976 0.6877 0.5322 0.7421 0.2278 0.1983 0.6857 1.0645]
将这两组数据对比,即0.9986和0.7976对比,0.8569和0.6877对比~~~~~~~

pslpsl
2008-08-25, 16:16
x=[0.9986 0.8569 0.6291 0.9278 0.4854 0.5146 1.0213 1.1024]';
y=[0.7976 0.6877 0.5322 0.7421 0.2278 0.1983 0.6857 1.0645]';
bar3([x,y],0.3);


是要这个效果么:

http://www.labfans.com/attachment.php?attachmentid=1034&stc=1&d=1219652136

yingmuhaha
2008-08-31, 11:19
用excel画图吧,很方便的,我觉得楼主可能要这样的。
http://www.labfans.com/attachment.php?attachmentid=1042&stc=1&d=1220152543

ysjxj
2008-09-02, 10:31
谢谢你们咯,确实要楼3这样效果的o(∩_∩)o...

hitzhjtopku
2008-09-04, 09:59
用EXAL NB!