Borrar filtros
Borrar filtros

How to graph a schedule on a timeline?

3 visualizaciones (últimos 30 días)
andrew
andrew el 24 de Feb. de 2012
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

Respuestas (0)

Categorías

Más información sobre Specifying Target for Graphics Output en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by