Line in my graph is not connected in a simple graph, how can I make the plot and line exist in the graph?

1 次查看(过去 30 天)
thii is my work
x=[0 1 3 5 7 9 23 27 31]
y=[2.3 2.22 1.92 1.6 1.52 1.07 0.73 0.5 0.45];
plot(x,y,'k*')

采纳的回答

Sulaymon Eshkabilov
x=[0 1 3 5 7 9 23 27 31]
y=[2.3 2.22 1.92 1.6 1.52 1.07 0.73 0.5 0.45];
plot(x,y,'k*-', 'linewidth', 1.5), grid on, shg

更多回答(0 个)

类别

Help CenterFile 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