Find where the vertical line intersects the y values
2 ビュー (過去 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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/162442/image.jpeg)
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 で Scatter Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!