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*')
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/627078/image.png)
采纳的回答
Sulaymon Eshkabilov
2021-5-23
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 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!