What is the use of plot(x, y, ':') while plotting the graph?
2 views (last 30 days)
Show older comments
S Priya on 21 Aug 2021
Answered: Walter Roberson on 21 Aug 2021
why is ':' required?
Rik on 21 Aug 2021
Did you perhaps mean plot(x,y2,':')?
If so, read the documentation for the plot function. It will clearly explain what that does.
Walter Roberson on 21 Aug 2021
':' is dotted line joining the points.
More Answers (0)
Find more on Annotations 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!