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

 채택된 답변

Cris LaPierre
Cris LaPierre 2020년 12월 24일

0 개 추천

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

댓글 수: 1

Niyazi ARSLAN
Niyazi ARSLAN 2020년 12월 24일
Thank you, It worked for me! That's what I was looking for!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

질문:

2020년 12월 23일

댓글:

2020년 12월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by