{diagrams} is for general questions about vector graphics created programmatically inside a (La)TeX document. For questions about specific packages, use the appropriate tag, e.g. {tikz-pgf} or {pstricks}. For questions about inclusion of external graphic files, use {graphics} instead.

learn more… | top users | synonyms (1)

1
vote
1answer
722 views

Draw a box around each element of the xy-pic

How could I draw lines (like those in a tabular environment drawn by \hline and |c|c|c| in the following code? \resizebox{\textwidth}{!}{ \xymatrix{ x_0 \ar[dr] & x_1 \ar[d] ...
2
votes
2answers
573 views

How can I align text, a diagram and a set of equations at the top?

I used the right environment + commands but I don't understand why my "1." the top of the diagram and the first line of the equation don't line up. Whatever else follows doesn't have to be aligned but ...
0
votes
3answers
324 views

Help drawing a figure with pgf

Here's an image of what I am trying to draw:
4
votes
1answer
2k views

Example of system architecture picture in TikZ

I am looking for an example of a system architecture diagram in TikZ. I would like to draw a picture similar to this one: Therefore I search for existing shapes for: cloud (Current State), database ...
8
votes
1answer
521 views

How to make multiple lines precisely converge in one point on an axis?

I am trying to produce a sequence/time diagram showing the synchronisation process of a master and slave in the Precision Time Protocol using TikZ. Being very new to TikZ I don't know much more than ...
14
votes
3answers
9k views

Problem with TikZ and vertical alignment of text inside nodes

I have a problem in TikZ with the vertical alignment of text inside nodes. With a very minimal example like this: \usetikzlibrary{arrows,positioning,shapes.geometric} \begin{tikzpicture}[% ->, ...
14
votes
3answers
6k views

How should I draw a singly/double linked list?

I need to draw some singly and double linked lists for a CS paper and I don't know what package should I use. As far as I've searched over the Internet I can't seem to find a good one. Maybe TiKZ/PGF? ...
6
votes
4answers
534 views

(Commutative) diagram with long labels on vertices

I am trying to draw a diagram that looks something similar to the following: ############## ---------> ############## \ / \ / ...
6
votes
2answers
3k views

Block Diagrams Multi Input - Multi Output Components in TikZ

My problem is to define blocks (mainly rectangles) that has labels in them in terms of matrices (mostly block diagonal) such that the n-many arrows that goes in this rectangle visually is at the same ...
11
votes
2answers
7k views

How to draw up a hierarchical tree diagram for taxonomic classification

Please show me the most simple, elegant code for this: How to do it in other words.
3
votes
3answers
704 views

Kan extension in beamer.

I'm trying to include the diagram of a Kan extension in a beamer presentation (see the nLab page for an example). I've achieved to draw it through \xymatrix without the natural transformations symbol ...
2
votes
1answer
285 views

How can I make an arrow returning to same entry in xymatrix?

I'm trying to make a diagram with arrows returning to the same entry using xymatrix. The following example works perfectly fine. \[ \xymatrix{ V \ar@(dl,ul)[]^{h'} \ar@<0.5ex>[r]^{i} & W ...
4
votes
2answers
1k views

Arrow within a signal (timing diagram)

I want to draw a Manchester code and need arrows to better show the falling and rising flag within the signal, something like that: In LaTeX, it is possible to use the package timing. Is it ...
9
votes
1answer
1k views

Diagrams package that allows to draw computer buffers (memory diagrams)

I'm writing a document that explains internals of memory buffers and computers and I'm looking for a LaTeX package that would allow me to create diagrams similar to the following: Circular buffer: ...
16
votes
3answers
4k views

Drawing a circle in the complex plane.

I would like to draw the set of points in the complex plane that satisfies $|z-1+i| <= 3$ using LaTeX (with TikZ, or some related system). I would want to fill this circle with say dashed lines, or ...
4
votes
0answers
259 views

Shiny button-like node style with TikZ [duplicate]

Possible Duplicate: Web buttons with WYSIWYM Would it be possible with TikZ to draw (3D) shiny button-like nodes as those appearing in the mindmap on page 44 of Lukas Doktor presentation ...
19
votes
1answer
1k views

Is it possible to use spot colors in TikZ graphics?

Using ConTeXt and Metapost, it is fairly easy to define spot colors and use them in an image: \starttext \definecolor[MyRed][c=0,m=1,y=1,k=0] \definespotcolor[RedSpot][MyRed][p=1,e=MyRed] ...
9
votes
2answers
3k views

Probability Tree-diagram with TikZ

Thanks for helping me out. How can I make the following tree-diagrams? http://www.vias.org/tmdatanaleng/cc_prob_cond_independ.html
5
votes
1answer
3k views

Flow (or block) diagram tips?

I've been working on a flow diagram or block diagram using Tikz to show a simplified camera transfer function. I've gotten as far as the code below, but I have a few questions remaining. I started ...
10
votes
2answers
3k views

Centering a TikZ picture around an area

I often find myself in the following situation: A tikzpicture of mine consists of a main area and some outer material like text labels which are hardly symmetric around the main area. If such a ...
3
votes
3answers
1k views

Labeling Drawing of Euclidean Vector

I would like to know how I would go about labeling the Euclidean vectors in a diagram. For example, if I use the code provided below to draw a diagram which depicts three vectors, how would I label ...
22
votes
2answers
3k views

package(s) for creating knot diagrams

I was wondering if anyone could suggest software/packages to create nice knot diagrams (hopefully with a link to images they have made in the past). I have used xy-pic recently but am mainly ...
17
votes
2answers
3k views

How to make nice braids diagrams

This question led to a new package: braids — Blog: The Braids Package I search to draw braids diagram, if possible in xy-pic. I already know how to do that with the knot module and some ...
13
votes
2answers
9k views

Decision node on TikZ (diamond)

I'm trying to find a way to tame decision nodes (diamond shape) but I just can't do a thing! If I put a formula inside the diamond and if that formula is a little big the shape just grows like a ...
1
vote
1answer
446 views

Adding labels to graph in xy package

I'm using xy package to draw a simple graph representation. How can I add the labels to the egdes? Here is the code I've produced so far: \xygraph{ ...
8
votes
3answers
1k views

Diagram displayed as an equation

Sorry to ask a direct question like that but: how can you do that ? Is it a complicated use of align ? Is it really and equation (mathmode) ?
4
votes
2answers
2k views

xy diagram problem: too wide, some arrows too short

I'm trying to write the diagrams of the isomorphism theorems, and I'm having problems. Some objects are too wide, and some arrows too short. Currently I have $$\xymatrix{A\ar[r]^\pi\ar[d]_\rho & ...
1
vote
1answer
2k views

Taming a TikZ flowchart's structure

After finally solving many issues with this flowchart, I get this... I'm new to TikZ and I'm having a hard time fixing this. I wanted the 5 nodes from row 5 to be inside a box with a vertical ...
10
votes
3answers
4k views

Commutative diagram with rounded arrows

I want to draw a diagram which has some arrows between to points A and B. First arrow goes straight from A to B and above it should be a $\Psi$. Second arrow goes in a round way from A to B and above ...
2
votes
2answers
2k views

TikZ flowchart for a poster

I'm making a poster and need to include a flowchart. I've never done this, so I'm starting with the example in the manual. Problem is, it doesn't work. ! Package pgfbasematrix Error: Single ampersand ...
4
votes
1answer
2k views

How to create Ishikawa (fishbone) diagrams with LaTeX?

Is there an automated way or a "template" to create Ishikawa (also called "fishone") diagrams with LaTeX? They are used e. g. to show the factors influencing a process and have a hiearchical ...
9
votes
1answer
1k views

How can I draw a diagram for matrix multiplication with LaTeX?

I'm trying to make a PDF manual for matrix multiplication with LaTeX. I'd like to generate a graphic similar to this one (from Wikipedia/Matrix multiplication): I guess this will be quite a bit of ...
6
votes
4answers
2k views

Comparison of plotting packages

I was wondering what some differences and relation between common plotting packages/environment: picture environment PGF/TikZ PSTricks and some others that are also common but I don't know yet ...
8
votes
1answer
2k views

Tikz task diagram (alignment and arrows)

I'm trying to create a diagram like this in LaTeX: This is what I have so far using the assignment structure from texample.net: Code: \begin{tikzpicture}[node distance=.8cm,start chain=going ...
11
votes
1answer
1k views

Need to plot a lattice and the topological building of a torus!

as told in the title I need to plot a lattice on the plane (not the standard one with basis (1,0), (0,1) ) and I'd like to show up how to build a torus starting from its topological square... If ...
8
votes
2answers
6k views

Database Entity Relationship Diagram

Is there a package that will allow me to create a database entity relationship diagram such as the one below?
2
votes
4answers
4k views

Shifting a path horizontally between nodes

With the following extract, how can I x-shift the second edge (edge2) between n1 and n2 so that it doesn't overlap with the first? Also, is there a way to add text to each of the edges so that they ...
6
votes
3answers
5k views

Align edges with anchor other than center

It seems that, when drawing an edge between two nodes, TikZ defaults to aligning the edge with the 'center' anchors of the two nodes. More precisely, the edge points from the center of one node to the ...
12
votes
2answers
2k views

How to get a 4 by 4 chessboard? Or any other size of board.

I've seen some package to draw chessboard on LaTeX such as skak and chessboard. However, after reading the documentation, they don't seem to support a change of the board size. I'm talking about the ...
5
votes
3answers
6k views

Bipartite graphs

I want to draw something similar to this in latex. How can I do it? I want it to be a directed graph and want to be able to label the vertices.
7
votes
1answer
13k views

Which font should be used for diagrams/graphs/flow charts?

I'm using the standard serif fonts in KOMA script for typesetting my thesis, 11pt for normal text. What font and font size would be recommended for use in graphs, diagrams and flow charts? The same ...
1
vote
2answers
2k views

Change the shape of a vertex using qtree

Using the QTree package, is it possible to add a shape to a node? For example, a square or a circle?
43
votes
4answers
16k views

Drawing Mechanical Systems in LaTeX

I really like CircuiTikZ for drawing diagrams in my LaTeX documents. However I mostly draw mechanical and not electronic systems, which is why I'm looking for some similar way to draw mechanical ...
21
votes
3answers
5k views

Molecular orbital diagrams in LaTeX?

This question led to a new package: modiagram I'm wondering if anyone has seen a package for drawing (qualitative) molecular orbital splitting diagrams in LaTeX? Or if there exist any packages ...
1
vote
1answer
380 views

Create Diagram - 4 blank horizontal lines in a row - Labels underneath w/lines or arrows pointing

So I want to draw a diagram explaining names of digit places ('hundreds' 'tens' 'ones'). I want blank lines with these labels underneath. I'm thinking qtree might be an idea (4 top branches being the ...
15
votes
2answers
2k views

Which package can easily write a graph, as an arbitrary curve or area, just for indication

Which package can easily write a graph, as an arbitrary curve or area, just for indication? The circle and ellipse don't be considered for their particular shape. TIKZ's Bézier curve is too ...
2
votes
1answer
588 views

Using the \newarrow command from Taylor's commutative diagrams package

I want to define new arrows to use in a commutative diagram, but I just can't make it work. The documentation is not particularly helpful; it doesn't even tell you where to put the ...
3
votes
1answer
783 views

Numbering chess diagrams (skak)

How do I put a number beside the chess diagram? I want to make a document of chess diagrams to be solved and then the solutions at the end. If someone has a skeleton to make this I would be happy. ...
15
votes
3answers
4k views

Political map in LaTeX

Is there a package that can be used to make political maps in LaTeX? Like a world map or a map of Europe?
12
votes
1answer
1k views

Can I make the page as big as my picture?

This is the reciprocal to How can I create a pdf document exactly as big as my tikz picture?. My understanding of all the answers there is that they extract a picture from a TeX document and strip ...