Graph not showing up

回答(1 个)

Use the axis function to see it:
a=9; b=2; c=5; d=5;
x=[ a a a b b c];
y=[ b c d c d d];
plot(x,y)
axis([0 10 0 6])

类别

在 帮助中心 和 File Exchange 中查找有关 Graph and Network Algorithms 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by