GANTT Chart with ordering of jobs

6 visualizaciones (últimos 30 días)
Toon Van Heusden
Toon Van Heusden el 3 de Feb. de 2022
Respondida: Sai Teja G el 23 de Jul. de 2024
I have made an adaptive scheduler, such that 4 routes are available through the machines as M1/M2 -> M3/M4 -> M5, thus every job need to go through machine 5. Therefore, ordering is added to machine 5. Now I want to put the starting and end times of every job into a GANTT chart. Though the legend of the GANTT chart only letting me put all the jobs in chronological order such that:
Machine 1/2(depends on the route) - times job 1 - times job 2 - times job 3
Machine 3/4(depends on the route) - times job 1 - times job 2 - times job 3
Though in Machine 5, due to the ordering, it could occur that job 2/3 skips or does not wait for job 1:
Machine 5 - times job 2 - times job 3 - times job 1
Now the GANTT chart is making the Machine 5 - times job 2 the same color as the Machine 1/2 - times job 1. Anyone know how to give positions in a matrix the same color and legend?

Respuestas (1)

Sai Teja G
Sai Teja G el 23 de Jul. de 2024
Hi Tonn,
I understand that you are getting the Machine 5 – times job 2 the same color as the Machine 1/2 - times job 1.
To assign positions, change colors, or modify the legend for each job over time, regardless of the machine, I suggest utilizing a file exchange that offers the functionality you require. One such option is to use the "ganntChart(_, Name, Value)" function, which allows you to assign different colors to each job.
Here is the link to the MATLAB File Exchange:
Hope this resolves your query!

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by