What is the use of plot(x, y, ':') while plotting the graph?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
S Priya
am 21 Aug. 2021
Beantwortet: Walter Roberson
am 21 Aug. 2021
x=0:pi/100:2*pi;
y=cos(x);
y2=sinx
plo(x,y2, ':')
why is ':' required?
3 Kommentare
Rik
am 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.
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!