How to plot a cross section of lines?

4 views (last 30 days)
Sierra
Sierra on 17 May 2022
Commented: Monica Roberts on 17 May 2022
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
Monica Roberts on 17 May 2022
There are a few things you could do:
  1. 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.
  2. 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.

Sign in to comment.

Answers (0)

Categories

Find more on 2-D and 3-D 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!