Find where the vertical line intersects the y values
조회 수: 4 (최근 30일)
이전 댓글 표시
I have attached the plot I generated for a data set. I would like to find the points where the vertical lines intersect the y-values. Further, is there a way to just plot a point (or a marker) instead of the vertical lines? I am just plotting a time stamp using the vertical line.

댓글 수: 0
답변 (1개)
Star Strider
2016년 4월 25일
You obviously have the x values, so I would use the interp1 function to find the y values in your data.
댓글 수: 4
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!