How to plot multiple arrays to create 2 3D plots on one graph
Show older comments
I have several matrices of data recorded from a flight simulator, and I am looking to plot the data on a 3D curve to resemble the flight path flown vs. the planned flight path.
I'd like to have:-
For curve 1: the X, Y and Z axis's as Elapsed Time, Aircraft Heading and Aircraft Altitude, respectively. For curve 2: the X, Y and Z axis's as Elapsed Time, Target Aircraft Heading and Target Aircraft Altitude, respectively.
I am a novice when in comes to MATLAB, so any help would be fully appreciated. I have imported the matrices of data (e.g. time; recorded altitude; target altitude; etc.) into my workspace...it's 'just' a case of plotting them so that there is one curve showing the actual flight flown path, and a second curve showing the target flight plan, one the same graph.
Make sense..?
Thanks for any help in advance, Liam.
Answers (1)
Star Strider
on 11 Jun 2015
0 votes
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!