How to graph a schedule on a timeline?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I'm trying to figure out the best way to present my output for a plane schedule. Ideally, I'd like to have a timeline on the x axis (from 0 to 24 hours in increments of 1 hr), and plane numbers on the y axis (from 1 to 25), and horizontal lines from target observation start time to target observation end time labeled with target numbers. Each plane's lines should be colored with a unique color
If I have an output that look like the following, what is the best way to do this in matlab? I'm not too familiar with matlab graphing functions:
output:
with 3 planes with bases labeled as 1,2,and 3, the output schedule vector looks like:
[1 17 6 10 1 9 12 1]
[2 23 2 24 8 7 3]
[3 25 26 3 8 2]
*as you can see planes can land in other planes' base locations also
the arrival and departure times are also given in vector format, depicting 'completion time at each target' (base times also depict time of arrival at base and time of departure):
ex. for plane 1: [1.5 3.8 5.2 8.9 11 13.5 15 20.2]
Thank you so much!! Any help would be greatly appreciated
Andrew
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Specifying Target for Graphics Output finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!