Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
|
![]() |
#1 |
初级会员
注册日期: 2009-12-01
年龄: 35
帖子: 6
声望力: 0 ![]() |
![]()
%Use x and x+1 as x-coordinates and use different colors to differentiate the bars
x=[1,2,3,4];y1=[1,2,3,4];y2=[1,2,3,4]; bar(x,y1,'b'); hold bar(x+1,y2,'r'); |
![]() |
![]() |