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

3 views (last 30 days)
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*')

Accepted Answer

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 23 May 2021
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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!