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

 Accepted Answer

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)

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!