Effacer les filtres
Effacer les filtres

How to extract values from plot?

1 vue (au cours des 30 derniers jours)
Lu Da Silva
Lu Da Silva le 1 Mar 2021
Commenté : dpb le 1 Mar 2021
I created two plots using the fnplt function. One plot represents the chord length (c) over the radial position, the other the thickness (t) over the radial position (-> they both have the same x-axis).
I need to calculate the spar height h = c*t and plot h against the radial position.
How can I extract the c and t values at specific x-axis values (e.g. x=10, x=20, x=30)? Or perhaps an interpolation would make more sense in order to get a smoother graph?
Thanks in advance!
  3 commentaires
Lu Da Silva
Lu Da Silva le 1 Mar 2021
That doesn't answer my question.... I'd like to have the y-values for specific x-values.
dpb
dpb le 1 Mar 2021
interp1

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur 2-D and 3-D 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