Graphics, Figures & TablesInterrupted Task in Scheduling Scheme

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
wassaw
Posts: 1
Joined: Thu May 02, 2013 3:38 pm

Interrupted Task in Scheduling Scheme

Post by wassaw »

Hello,

I want to draw an arbitration scheduling scheme. I tried one with XFig, but the result is ... not that great ;-):
scheduling-scheme.jpg
scheduling-scheme.jpg (7.7 KiB) Viewed 3304 times
Does anyone know a good way to draw this in LaTeX? The result don't have to be exactly like my example. The only thing I think is important is the border of the "Master 3" bar. I want to clearly show that this task would be interrupted. I also tried the pgfgantt package, but there I have the problem that I cannot change only one border.

Code: Select all

\documentclass{article}
\usepackage{pgfgantt}

\begin{document}
  \begin{ganttchart}[vgrid,hgrid]{15}
    \ganttbar{Master 1}{7}{9} \\
    \ganttbar{Master 2}{2}{4} \\
    \ganttbar{Master 3}{5}{6} \ganttbar{}{10}{10} \\
    \ganttbar{Master 4}{11}{13}
  \end{ganttchart}
\end{document}
Thanks in advance,
wassaw
Last edited by localghost on Thu May 02, 2013 5:11 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Interrupted Task in Scheduling Scheme

Post by cgnieder »

Hi wassaw,

Welcom to the LaTeX community.

I want to give a reference for possible people who want and know to answer: the question has been asked on TeX.sx, too, but at the time of writing has not received any answers so far.

Regards
site moderator & package author
Post Reply