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

1 view (last 30 days)
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.

Answers (1)

KSSV
KSSV on 22 Feb 2018
Edited: KSSV on 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 Comment
sairohith mudduluru
sairohith mudduluru on 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.

Sign in to comment.

Categories

Find more on Contour Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!