Is it possible to extract data from an external plot?

조회 수: 10 (최근 30일)
Abner Ojeda
Abner Ojeda 2021년 3월 3일
답변: Ananya Tewari 2021년 3월 25일
Hi!
My question is simple, I have a motor performance curve (I'll add the fig for reference), which was obtained from the motor datasheet, I don't have more data or information, just the image. Is it possible to extract the data from this curve and create a matrix or some kind of variable with MATALB?
Thanks to all for your help!

답변 (1개)

Ananya Tewari
Ananya Tewari 2021년 3월 25일
The curve provided above contains specific colors, using image analysis to create a plot can help getting the desired answer. Following is one of the possible ways of doing it:
  • Read the image to MATLAB workspace using imread()
  • Extract the individual channels of the image using imsplit()
  • Using Image Viewer from Toolstrip under Apps, find the shift in the coordinate system and transform the coordinates of the channels accordingly.
Refer to this answer for more informaion on extracting coordinates from an image.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by