Stop line after intersection with other line
Show older comments
Hello all,
I am trying to figure out how to do this seamingly simple operation easily. I am plotting some ylines and corresponding xlines using interp1 in order to essentially create "crosshairs" at some point. Ideally, only the part of the lines going from an axis to the main line would be showing, not the portions above or to the right. Can anyone think of a simple way to do this? Thanks

Accepted Answer
More Answers (1)
Holden Tranquillo
on 7 Jul 2021
0 votes
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!