Slice along a curved plane
Show older comments
It is easy to plot slices along a straight line plane (e.g. x=-50, and y=40 in the first figure) using the slice function.
[x,y,z]=meshgrid(-55:0.1:-25,30:0.1:60,1:1:150); slice(x,y,z,c,-50,40,[]); shading flat;

However, how can I get a slice along a curved plane (like the second figure)?

Accepted Answer
More Answers (1)
Categories
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!