{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)

12
votes
2answers
4k views

Four Node Commutative Diagram in LaTeX

I am quite new to LaTeX and I was curious if anyone knew how to make these sorts of diagrams. I saw one other picture on here but it was a three node diagram and I wasn't sure how to make LaTeX ...
3
votes
2answers
195 views

How can you generate a blockdiagram similar to this?

I made a quick sketchup of what I want: What would be a good way to generate a blockdiagram like this?
4
votes
1answer
323 views

How to draw and scale for large data values as a sparklines-like diagram with datatool & TikZ?

I want to draw rectangles by the measure of ++(1pt, 4pt) at (x, y) where x and y are based on external data, but I am unsure on how I can proceed to get a proper graph for this. The obvious ideal ...
2
votes
2answers
233 views

2 pictures not entirely side by side

I am using the following command to get two pictures side by side but my problem is that sometimes they are not. \begin{figure}[ht] \begin{minipage}[b]{0.45\linewidth} \centering ...
3
votes
1answer
512 views

Parallel lines in Feynman Diagram

I am trying to draw this feynman diagram The part that's a bit tricky is the parallel lines, in the laeft and right side of the diagram. How to do that? I've tried searching in feynmf's manual. I ...
4
votes
2answers
671 views

Draw single-vertex Feynman diagram

I am trying to draw a simple single vertex Feynaman Diagram, like the one shown next I've tried using feynmp package but I am not able to reproduce it. My code is \documentclass{article} ...
1
vote
1answer
301 views

Vertex with two labes (label in, weight out)

I use the tikzpicture environment to make graphs. I would like to make a vetex in the graph with comondo \Vertex with an internal value to the vertex (label's vertex) and another value outside ...
9
votes
1answer
365 views

How to more easily generate a normalized eigenvalue spectrum?

I'm trying to generate a normalized eigenvalue spectrum like this one: In the above example, the normalized eigenvalues are like the following: 0.8332 0.0433 0.0310 0.0152 0.0061 0.0047 0.0035 ...
3
votes
2answers
561 views

Tikz drawing a ring with nodes

I want to add the following figure in the presentation of a paper I read. I read a small introduction to tikz but still the figure is very complicated for me to do. Can anybody help or point any ...
6
votes
1answer
977 views

Using xypic to draw a Hasse diagram

I'd like to use xypic to draw a Hasse diagram similar to this one: which was generated with the following code: \documentclass{article} \usepackage[all]{xy} \begin{document} \[ \xymatrix{ s_{2,0} ...
6
votes
2answers
510 views

How to draw straight lines between nodes in commutative diagram without using TikZ matrix library?

I want to draw a commutative diagram with TikZ as follows: \usepackage{tikz} \usetikzlibrary{positioning} \begin{tikzpicture}[auto] \node (S1) {$\sigmaSet \cap X_N$}; \node (S2) [below= 2cm and 4cm ...
5
votes
2answers
321 views

Why isn't diagrams.sty compatible with LuaTeX

I am trying to debug the problem with Paul Taylor's diagrams.sty (not in TeX Live or MiKTeX, but available from CTAN). Minimal example: \documentclass{article} \usepackage{diagrams} ...
6
votes
3answers
1k views

Overlapping nodes in tikz

I used to make a chain diagram in tikz, like described in the manual p. 59 ff, but in contrast to the manual, my nodes are overlapping. I tried to use the "node distance" option but i doesn't seem to ...
2
votes
1answer
534 views

Relay communication Block diagram

Im trying to prepare a research note on the relay communication field, I tried to draw the following diagram in LaTeX (TikZ) but I didn't succeed to draw it good enough... Can anybody help me to ...
1
vote
0answers
88 views

To where/whom should I write for an invitation to create a tool for bullet graphs? [duplicate]

I was wondering if creating "bullet gauges" is possible in any LaTeX package, but I didn´t find any. In other question @Jake answered me with a solution for simple graphs in Is there any package to ...
6
votes
1answer
285 views

How can I get symbols to appear in the middle of commutative diagrams using tikz-cd?

I'd like to get question mark symbols in the center of my commutative diagrams, thus: \documentclass{article} \usepackage{tikz-cd} \begin{document} \[ \begin{tikzcd}[row sep=tiny] A ...
0
votes
1answer
105 views

Why page break when inserting pictures?

If I insert an image, then it is shown at the next page. Why do Latex a page break? My code is: 1208. \\ \begin{figure} \includegraphics[width=100mm]{Komplexa_talplanet.png} \end{figure}\\ \\.
4
votes
1answer
1k views

On arrows in Tikz cd

So I am getting used to using tikz-cd package to draw relatively straightforward commutative diagrams. I have two questions. Question 1 Here is the code: \documentclass[10pt, draft]{amsart} ...
8
votes
2answers
1k views

Drawing the contour of a 3d torus

I would like to draw a torus, like the one on the question How to draw a torus, with a 3d package. I would like to avoid drawing the torus in 2d with inkscape (or directly with tikz) because I will ...
0
votes
0answers
72 views

Software to draw block diagrams in a GUI and then translate them into LaTeX code? [duplicate]

Is there a piece of software to draw block diagrams in a graphical user interface, diagrams that can then be translated to LaTeX code?
1
vote
0answers
79 views

Work diagram help [duplicate]

I am trying to create this sort of diagram (or graph). The X axis is time, Y axis are projects/tasks and lines through them are people (employees) working on certain task in given time period. I've ...
16
votes
2answers
761 views

Creating plasmid diagrams in TeX

I need to create a diagram of plasmid in TeX, which looks like that: The images above are slightly different but show pretty much the same thing so it would be great if I could create any of them ...
8
votes
2answers
302 views

Individual value labels in Kiviat Diagram

I'm using the tkz-kiviat package to draw spider graphs and am quite happy with it. I can see how to add a axis label but how can I label the individual values of each node? There doesn't seem to be a ...
0
votes
0answers
55 views

Label in cyclic arrow diagram [duplicate]

Consider the following code from TeXample.net: How to refactor it for adding sloped labels on the outside of the arrows? Do you have a more elegant solution with TikZ? % Overlapping arrows % ...
8
votes
3answers
874 views

How can I create a 'Nutrition Facts' label?

I'd like to make the Nutrition Facts below. I'm pretty new to LaTeX. I can modify templates I find on the web, define new commands, redefine commands, but I have no idea what a macro is, all my ...
8
votes
1answer
297 views

Typesetting Sorting Diagrams

I am typesetting some diagrams representing sorting algorithms similar to those found in Miller and Ranum Python Book partly as an exercise in learning TikZ. I'm trying to typeset something similar to ...
2
votes
0answers
262 views

Inserting a vertex correction in Feyn - the Lyx Feynman package [closed]

I can't seem to be able to draw a standard Feynman diagram and add a vertex correction like here: http://commons.wikimedia.org/wiki/File:Feynman_second_order_vertex.svg When I try, my fermionic lines ...
9
votes
1answer
496 views

Drawing little semicircle to show that two intersecting lines are not connected [duplicate]

I want my diagram to show that two intersecting lines are not actually connected, but one passes above the other. The best result I would like to achieve would be a small semicircle as used in ...
5
votes
1answer
389 views

Fibre product in LaTeX

I would be thankful if anyone can guide me in writing commands for a fibre product in LaTeX. I would also like to know how to change the angle of the diagram as I want it to be.
6
votes
2answers
384 views

Create a simple 2 panel graph in LaTeX

I am trying to make two panel graph in LaTeX. I don't know how complex it will be. Can anyone suggest what would be the starting point in creating such graphs ? The graph is as follows: I would ...
6
votes
1answer
245 views

Circle with labelled rotated radians

I'm wondering how I can reproduce the following diagrams using TeX: I realize this question is similar to this other question, however I'm not nearly experienced enough to be able to translate ...
9
votes
3answers
406 views

Letter “p” ruining vertical alignment

I have a simple diagram I have created. \begin{figure}[t] \begin{center} \setlength{\unitlength}{10pt} \begin{picture}(24,4) \setlength\fboxsep{0pt} ...
2
votes
2answers
845 views

Blockdiagram with dsp library

I am using the dsp library, http://www.texample.net/tikz/examples/fir-filter/, to create a blockdiagram. Now I got 2 problems. I defined two labels, r and d_i however they are not visible on the ...
1
vote
1answer
2k views

Multiple Images in one frame Beamer

I have to do a presentation for an interview and I want to show in a slide in which there is a list of items after an item a sequence of 3 images that appear one over the previous in a specific ...
2
votes
2answers
482 views

Easiest way of drawing a graph in LaTeX

So, I'm looking for the easiest way of drawing something like this. It's a simple diagram. Is the picture environment the most appropiate one?
3
votes
1answer
215 views

Help with the geometry figure

Can someone help me with creating such a figure in metapost?
2
votes
0answers
96 views

To wrap the external lines so that it can touch the perimeter [closed]

Similar to this, Wrapping a Feynman diagram in an ellipse or a circle?, I am having some in tikz problem making sure the legs of these diagrams touching the perimeter. I tried the following, but I am ...
4
votes
1answer
134 views

Three graphics with tables of data

I need to create a figure like the following. If I have the color plots saved as png images (ie. test.png, rans.png and ddes.png), what would be the best way to create this sort of graphic in LaTeX?
3
votes
2answers
320 views

Draw a Cyclic State Machine with xypic

I want to draw the following diagram : \documentclass[11pt,twoside,a4paper]{book} \usepackage[margin=0.45in]{geometry} \usepackage[all]{xy} \begin{document} \begin{figure}[ht] ...
8
votes
0answers
843 views

How to automatically generate Venn diagrams given the inclusion relations? [closed]

I'm writing a paper about classes of formal languages, and I'd like to have a diagram showing their heirarchy. Something similar to this (from Wikipedia:) Is there a LaTeX package which, I can give ...
1
vote
1answer
190 views

Is it possible to remove the ddots when using umlcreatecall in the tikz-uml package?

I am using the TikZ-UML package to make a UML Sequence Diagram and want to remove the ":" character (separating class and instance name) when using \begin{umlcreatecall}[]{A}{B}. This is possible with ...
7
votes
2answers
311 views

Position shift when adding label to 3D asymptote diagram

I have this strange issue with 3d asymptote diagrams. Without labels they act as a normal figure, but when I add label, the diagram moves to the edge off the page... MWE: ...
5
votes
1answer
235 views

XyPic xymatrix not showing arrow labels with TeX Live-2012

Recently I have upgraded my TeX installation to TeX Live-2012 from TeX Live-2009. Now \xymatrix is misbehaving. The behavior affects both Mac OS X and Ubuntu Linux 12.04 installations. For example, ...
7
votes
2answers
1k views

Commutative Diagrams

Can anyone help me in giving commands for commutative diagrams in LaTeX ? It doesn't seem to appear properly in the LaTeX guides that I have. A command for a simple triangular diagram with arrows ...
1
vote
0answers
51 views

How to draw an image in LaTeX [duplicate]

I would like to draw in pure Latex the three following images: Could you suggest me a package to do it (or directly how to do)? Thanks, Vi.
4
votes
1answer
435 views

Game proofs for cryptography

In cryptography a lot of security definitions (IND-CPA, IND-CCA etc.) are represented as games between an adversary and a challenger. Is there an existing package or a simple way to achieve this ...
4
votes
2answers
382 views

Commutative diagrams side by side have different sizes

Within the statement of a theorem, I have two commutative diagrams. I am trying to use pb-diagram to create them, and I would like them to be side by side. Unfortunately the size of the commutative ...
13
votes
2answers
325 views

Two coloured arrow

I would like to draw arrows in diagrams that have two colours split along the axis. (This shall represent a mixed case in colour-coded case distinction.) Here's a sketch: Here is a MWE to play with: ...
2
votes
1answer
556 views

Help With TikZ: Recreating Diagrams from e/m Ratio Experiment—Helmholtz Coils and Circuitry

I have two images I need to recreate in TikZ. The first is that of Helmholtz coils and their spacing in the experiment: And the second being the wiring for the coils: My (very) Minimal working ...
9
votes
3answers
428 views

Which package should I use for doing a connecting homomorphism diagram like this in latex

which package should I use for doing a diagram like this in latex: