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

1 visualización (últimos 30 días)
sairohith mudduluru
sairohith mudduluru el 22 de Feb. de 2018
Editada: sairohith mudduluru el 22 de Feb. de 2018
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.

Respuestas (1)

KSSV
KSSV el 22 de Feb. de 2018
Editada: KSSV el 22 de Feb. de 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 comentario
sairohith mudduluru
sairohith mudduluru el 22 de Feb. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Contour Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by