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

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

回答(1 个)

KSSV
KSSV 2018-2-22
编辑:KSSV 2018-2-22
Read the documentation of contour, you cn extract the required coordinates.
[X,Y,Z] = peaks(100) ;
[C,h] = contour(X,Y,Z) ;
C
  1 个评论
sairohith mudduluru
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Contour Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by