How do I find the values at a specific Y value on a 3-D surf plot?
1 ビュー (過去 30 日間)
Victoria K 2022 年 4 月 26 日
Attached is a picture of a side view of a 3-D surf plot I have created using surf(X,Y,Z,'edgecolor','interp').
The X axis is the date, Y axis is the depth, Colobar represents the temperature.
I want to find the temperature values at a specified y value. For example, is there a way to find all the plotted points and their temperature values at Y = 1?
Hope that makes sense.
Thanks for the help!
回答 (1 件)
Read about slice.
Also you can find the index of your required points and extract the required values.
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!