How to plot a cross section of lines?
Show older comments
i have x(longitude), y(latitude) and z(altitude) data. now i want to plot cross section of lines at some point.
i've plotted left figure and i want to know how to plot like right fiugre from left figure
thanks!

1 Comment
Monica Roberts
on 17 May 2022
There are a few things you could do:
- You could use view() to modify the viewing angle of the graph on the left. If you only plot the points at the particular cross section and find the correct viewing angle, it should show those points.
- If you know how the plane is defined, you can mathematically transform your points into whatever x-y coordinate system you need for the image on the right.
If you share some specific code it might be helpful.
Answers (0)
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!