can i extract all y values for a x value from a contour plot

1 visualizzazione (ultimi 30 giorni)
Please fing the attached image.i have vectors for each axis of size 101*101,let say i want all y values for a value of = 500 for all values of z. Thank you.

Risposte (1)

KSSV
KSSV il 22 Feb 2018
Modificato: KSSV il 22 Feb 2018
Read the documentation of contour, you cn extract the required coordinates.
[X,Y,Z] = peaks(100) ;
[C,h] = contour(X,Y,Z) ;
C
  1 Commento
sairohith mudduluru
sairohith mudduluru il 22 Feb 2018
as far i know contour just plots the vectors..i thought of interp function but its not working..can u tell more on this..thank you.

Accedi per commentare.

Categorie

Scopri di più su Contour Plots in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by