What is the use of plot(x, y, ':') while plotting the graph?
1 次查看(过去 30 天)
显示 更早的评论
x=0:pi/100:2*pi;
y=cos(x);
y2=sinx
plo(x,y2, ':')
why is ':' required?
3 个评论
Rik
2021-8-21
Did you perhaps mean plot(x,y2,':')?
If so, read the documentation for the plot function. It will clearly explain what that does.
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!