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

2 次查看(过去 30 天)
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)

请先登录,再进行评论。

回答(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