开发者

matlab plot graph

i want to plot 1 dimension array (x axis) with each row of another array 2 dimension (y axis),,in one graph?? and in the same graph i want to plot a histogram of another array 1 dimension (y axis) with the first array (x axis) ?

a=[1,10] x axis b=开发者_开发技巧[5,10] y axis c=[1,10] y axis histogram


This code might help :

a = [1,10]
b = [5,10]
c = [1,10]
plot(a,b)
hold on
plot(a,c)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜