Extract vertical line numerically from curve plot
Show older comments
Hi, I would like to know if it is possible to extract vertical line (blue color) from a curve plot as shown in the image? I'm also attaching the datapoints, where coloumn 1 is X axis and Coloumn 2 is Y axis. The thing is, I have 1000 of such plots and only tried to show a simply example, and in someway I want to exclude horizontal lines (East-West directional) and keep only vertical lines.
Thanks in advance.

3 Comments
darova
on 17 Feb 2021
Can you show on the picture what you want to extract?
Aristo Pacino
on 17 Feb 2021
Aristo Pacino
on 23 Feb 2021
Answers (1)
Cris LaPierre
on 17 Feb 2021
0 votes
Can you? Sure.
I'm not aware of anything that will do this for you automatically, but if you have the X and Y data of the curve, you can come up with your own code for determining what portion of the line meets your criteria for vertical, and then extract those points from the vector.
1 Comment
Aristo Pacino
on 22 Feb 2021
Categories
Find more on Fit Postprocessing 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!