How to add drop lines into plot ?
18 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Niyazi ARSLAN
am 23 Dez. 2020
Kommentiert: Niyazi ARSLAN
am 24 Dez. 2020
Is there any way to add drop lines into plot? I can do that in MS office softwares, but I could not find in Matlab,
Thanks
0 Kommentare
Akzeptierte Antwort
Cris LaPierre
am 24 Dez. 2020
I don't know about drop lines, but one way to achieve this might be adding a stem plot on top of your plot.
x = 1:5;
y = [6 3 7 5 9];
plot(x,y)
hold on
stem(x,y)
hold off
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
