필터 지우기
필터 지우기

Extract data from plot, with specific x and y points?

조회 수: 2 (최근 30일)
Sharif Khalil
Sharif Khalil 2018년 8월 17일
댓글: Sharif Khalil 2018년 8월 17일
Hi, I would like to extract the intensity values of a figure for specific x and y points representing the blue circle in the plot below. I know the x and y points, I want to extract the values representing the colors.
  댓글 수: 2
Aquatris
Aquatris 2018년 8월 17일
If you made this graph yourself, you should have a matrix, Z, used in creating the colored map;
contourf(X,Y,Z)
If so, you should be able to get the color values using
colorValue = Z(xIndex,yIndex)
Sharif Khalil
Sharif Khalil 2018년 8월 17일
Okay, thanks

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Scatter Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by