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

2 vues (au cours des 30 derniers jours)
Sharif Khalil
Sharif Khalil le 17 Août 2018
Commenté : Sharif Khalil le 17 Août 2018
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 commentaires
Aquatris
Aquatris le 17 Août 2018
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 le 17 Août 2018
Okay, thanks

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Line Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by