Extract vertical line numerically from curve plot

조회 수: 3 (최근 30일)
Aristo Pacino
Aristo Pacino 2021년 2월 17일
댓글: Aristo Pacino 2021년 2월 23일
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
Aristo Pacino
Aristo Pacino 2021년 2월 17일
Hi @darova, I want to extract from latitude 49.46 until 46.26. 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.
Aristo Pacino
Aristo Pacino 2021년 2월 23일
@Image Analyst, do you have any idea on it?

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

답변 (1개)

Cris LaPierre
Cris LaPierre 2021년 2월 17일
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
Aristo Pacino
Aristo Pacino 2021년 2월 22일
Yes! But there are more than 1000s of random curves so it is literally complex to seperate the horizontal and vertical part.

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

카테고리

Help CenterFile Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by