{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
3k views

Commutative diagram with curved arrows, colour, and changing the style of arrows

I am using xy matrix and I would to curve an arrow over other arrows in a diagram, at the same time as setting some of these curved arrows to equal and changing their colour. This is what I have so ...
17
votes
1answer
2k views

Waterfall Chart

For displaying the total effect of a series of values, a waterfall chart can be useful. For example this chart, taken from The Economist, illustrates estimated efficiency potentials in the UK public ...
4
votes
1answer
2k views

GraphViz and LaTeX; gives blank PDF

I've tried 4 different .sty files (most of which didn't work, some of which gave me errors on rendered page). Now trying with the dot2texi package, which is giving me a blank PDF. I have tried ...
4
votes
1answer
1k views

Adjust spacing between specific rows with \xymatrix

I have the following diagram: \[ \xymatrix @!=1pc { & Z \ar@{.>}[d]^{\exists!h} \ar@/_1.2pc/[ddl]_{p'} \ar@/^1.2pc/[ddr]^{q'} & \\ & X \times_S Y \ar[dl]_p\ar[dr]^q & \\ X \ar[...
3
votes
1answer
282 views

OpenType, extensible arrows, and diagrams

Does the OpenType font format provide support for extensible arrows (as in \xrightarrow)? If so, is it true that it would be unicode-math's job to make this functionality available in TeX? This ...
4
votes
0answers
341 views

Triangulated Toruses in Sketch [closed]

I want to be able to use sketch to generate an image like this: I am able to get the torus okay using nested sweeps as demonstrated in the tutorial, but my attempts to draw the diagonals using ...
1
vote
0answers
749 views

Draw set mapping diagrams [closed]

I'm trying to draw some set mapping diagrams with LaTeX. Do you know any packages that can do this? I tried searching online but I couldn't find anything useful.
26
votes
3answers
29k views

Is there any way to type LaTeX code directly into the text boxes Inkscape?

I use Inkscape on Windows 7 platform. The principle to enter integrals and other mathematical symbols in Inkscape seems that the best thing to do and write them in a LaTeX compiler and cut them in ...
1
vote
1answer
581 views

Adding tikzpicture layers that can be viewed sequentially in the output (Motzkin graphs)

In a Beamer presentation it's possible to add elements to a tikzfigure on a page sequentially so that the viewer doesn't have to take in all of the complexity at once. You cannot use the Beamer ...
3
votes
1answer
153 views

Errors when trying to draw a commutative diagram using an xymatrix

Why is the following code not compiling? \[ \xymatrix{ A \ar[rd]^{g \circ f} \ar[r]^f & B \ar[d]^g\\ C} \] I'm trying to get a commutative diagram with 3 objects (A, B and C) ...
8
votes
1answer
924 views

How to create a symbol for LMB (left mouse clicking) or RMB (right mouse clicking) in LaTeX?

I'm searching now since 2 weeks for a LMB (left mouse click) or RMB (right mouse click) symbol in LaTeX. I saw it once in a manual, but I couldn't find it any more... Now I want to write a manual and ...
2
votes
0answers
185 views

What is most effecient way to draw a graph in LaTeX? [duplicate]

Possible Duplicate: LaTeX for Graph Theory? For the first time, I was going to draw a graph in LaTeX. (I was intended for a graph similar to the following) Graph Theory is an important ...
5
votes
1answer
289 views

Intercalate pictures and items in beamer presentations

I'm preparing a presentation in which I'd like to have pictures in a new slide between \items. The final result should look like: Slide 1: I want to discuss: 1) Cars Slide 2: [Picture of a car] ...
4
votes
2answers
861 views

Kiviat diagram with axis labeled and different sizes

I am trying to use the package tkz-kiviat to draw a kiviat. The following example produces the image below: \documentclass[]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \...
2
votes
0answers
306 views

Drawing to indicate algorithms [closed]

I'm looking for one good drawing so as to symbolise algorithms. The idea is to use this drawing like one symbolic icon. Have you some ideas ?
5
votes
1answer
540 views

commutative diagram having drawings as objects

I need to draw a commutative diagram having drawings as objects, like in this link which is also shown below. I have some problems: xy-pic "slants" the objects; "matrix" library in TiKZ is not ...
0
votes
1answer
1k views

How to draw a diagram for packets scheduling in networks or task scheduling?

I would like to draw a diagram for packets scheduling in networks similar to the this one: The same type of diagram (or very similar) can be used also for tasks scheduling. Can you please indicate ...
6
votes
1answer
651 views

How can I vertically align the labels in a tikz diagram

I have drawn the above diagram with diagonal arrows in TikZ, but the labels look like they have been placed on a curve instead of next to each other. I think I understand why they are placed like that:...
25
votes
4answers
13k views

Is there a way to control whitespace around a TikZ picture?

When I draw a tikzpicture that includes paths, I get quite a bit of extra whitespace added around the elements of the picture. Depending on the elements the figure contains, this can work out in some ...
5
votes
2answers
2k views

How can I make labels (or other elements) rotate with a node using TikZ?

Is there a way to get label text to rotate with the TikZ node to which it is attached. I can rotate the node and its text; but labels do not rotate along with the node, and instead remain "level": \...
9
votes
2answers
2k views

Can't draw a commutative diagram

I'm trying to draw a commutative diagram using xymatrix: $\xymatrix{ S \ar@[ld]^{\pi_{i}} \ar@[rd]^{\pi_{j}}\\ R_{i} \ar[r]_{\mu_{ji}} & R_{j} }$ without any luck. Any idea? EDIT: I'm trying ...
8
votes
3answers
4k views

Surface plot with coordinates in pgf

Is it possible to draw a three dimensional surface using coordinates instead of formulas? MWE so far: \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{...
9
votes
3answers
1k views

What are some good examples of LaTeX Cayley diagrams?

I'm looking for some good examples of LaTeX code used to generate basic Cayley diagrams like this one: Ideally, I'd like for the examples to make it fairly clear how to modify or remove various ...
7
votes
2answers
831 views

Is there a combination of LaTeX gnuplot flowchart?

I know this is not always a good idea, but I think it might be a good idea in some situation. Is there an improved LaTeX version or something, can have the gnuplot scripts inside of the LaTeX file, ...
4
votes
1answer
2k views

Questions on Xfig

I was trying to use Xfig software to draw pictures, but I am running into trouble in the following cases. I have three really quick and technical questions: I see there are options for drawing an ...
26
votes
1answer
1k views

How to produce John Kruschke's Bayesian model diagrams using TikZ or similar tools?

In a May 2012 blogpost John Kruschke discusses how he prefers his diagram conventions for representing bayesian models to the traditional approach. You can see an example of his approach in the ...
1
vote
1answer
612 views

How to make self-refering arrow with xydigram in a box

I'm trying to make a nice state diagram with some arrows I cannot find a way to make the arrows pointing to the same state: in my case, I would like a self-refering arrow to altcache I'm not fixed ...
1
vote
0answers
175 views

What is / are the softwares to use to draw surfaces of the form of a two or three-holed torus , or torus, or torus with cusps attached to it? [duplicate]

Possible Duplicate: Topological Quantum Field Theory diagrams with pstricks or tikz I am trying to draw surfaces with complete hyperbolic structures and surfaces which are topologically tori. ...
2
votes
4answers
7k views

How to draw a boolean circuit diagram in circuitikz?

How would I draw this image: using circuitikz? What I have so far is \begin{circuitikz} \draw (0,2) node[and port] (myand) {} (2,1) node[or port] (myor) {} (myand.in 1) node[anchor=east] {A} (...
4
votes
1answer
6k views

Block Diagrams in TikZ

for my thesis i need to put some block diagrams in my LaTeX document. I was recommended to use TikZ for that. This is the only sample code i could find. Do you guys maybe have some tutorials / doc ...
20
votes
3answers
2k views

Amoeba shape with TikZ

I would like to draw generic amoeba-like shapes with TikZ and don't really want to think too deeply about its boundary. Basically a closed connected set with smooth locally convex boundaries. Any ...
6
votes
3answers
546 views

How would I trace a pixelated graphic for my thesis?

I am writing a thesis with MS Word about drug delivery and I have a graphic that is a bit pixelated (so says the professor). I heard that TeX is a good thing to learn for this and I was wondering if ...
9
votes
2answers
1k views

Step-pyramid in LaTeX

How can I generate a step-pyramid in LaTeX? I'm guessing I would use a graph module to centre chart bars... I want to be able to select the length of each "row" of the pyramid, and show that number ...
2
votes
1answer
324 views

Softwares for drawing hyperbolic surfaces , closed, with boundaries or with punctures?

In a paper I am in the process of writing in LaTeX, I need to draw and incorporate some diagrams of hyperbolic surfaces in my LaTeX document. Is there any software I can use to draw hyperbolic ...
39
votes
1answer
3k views

Plotting several 2d functions in a 3d graph

I am trying to reproduce a similar figure to the following one. My first guess was to use pgfplots but I didn't find any example that I could use as a starting point. At the moment I am unsure if ...
11
votes
3answers
523 views

Creating macros for common commutative diagrams in tikz

I am currently typesetting a document which requires many commutative diagrams of the same shape and construction, but with different labels at the vertices and edges. For example, I want a ...
1
vote
1answer
554 views

Help with drawing a picture (pgf/tikz)

I am interested on drawing (I suspect that using pgf/tikz is one of the easiest ways to accomplish this) a picture like the following one It is supposed to be a grid of the plane (I only care about ...
37
votes
2answers
17k views

Can you make chemical structure diagrams in LaTeX?

Can you create diagrams of chemical structures in LaTeX? Example(s) of "chemical structure diagrams":
4
votes
1answer
179 views

How can I move the arrow inside the commutative diagram into the centre?

I have the following diagram: \documentclass{article} \usepackage[all]{xy} \begin{document} \xymatrix@R.8pc@C.8pc{ F(Y) \ar[rr]^{E_{Y}} \ar[dd]_{F(f)} && F(Y) \ar[dd]^{F(f)} \\ & \mbox{...
3
votes
1answer
1k views

Introducing a (sub)node within a part of a split rectangle (with tikz-pgf, for displaying memory data structures)

I'm trying to put a node (or, say, a chain) within one of the nodeparts of a split rectangle shape. So far I've been unable to make it work. Essentially I'm trying to represent a simple data structure ...
0
votes
1answer
607 views

Commutative Diagram with Elements

I want to make a diagram that looks like the following:
6
votes
1answer
601 views

How to enclose terminal symbols within circles and/or nice oval boxes in a syntax diagram built using syntax.sty?

I hope you can help me again. I want to use the syntax package to build syntax diagrams, but I want to enclose non-terminal symbols in boxes and terminal symbols in circles or well-formed oval boxes (...
8
votes
3answers
833 views

Intersection of lines to draw a convex function

I'm trying to draw (in TikZ) a convex function f constructed as the minimum of the linear functions f1, f2, f3 and f4. To do that, my inclination is to use the intersections of said lines to find the ...
6
votes
2answers
5k views

Tools for tree diagram

I would like to make a simple scheme looking like tree diagram (structure like this or that). The problem is that all the packages I did try, could make nice binary trees with little information in ...
5
votes
1answer
1k views

moving label of arrow

How can I shift the F_{2}(f') label so that it isn't touching the arrow? \usepackage[all]{xy} \SelectTips{xy}{12} \[ \xymatrix{ A \ar@{<->}[rrrr]^{F_{1}(h' \circ g')} \ar@{<.>}[...
6
votes
1answer
679 views

Short diagonal arrows inside commutative diagram

I need to use the xy maths package (because I need to make it into a PNG file for Wordpress and mathurl.com accepts the xy template) to make a commutative diagram in which there are diagonal 4 shorter ...
6
votes
1answer
2k views

Turing Machine Figure

Just curious if anyone had a good recommendation for generating a Turing machine style image using perhaps TikZ or something else that would create an image similar to the one shown here. Any ...
3
votes
1answer
684 views

Where is mp.exe in MikTeX 2.9?

I am a a retired software engineer and a newbie on this site. Please execuse me for the naiveness in my question. I am using Windows, XP and Vista. Other OS's are not affordable to me for now. I used ...
3
votes
1answer
2k views

Feynmf doesn't produce feynman diagram at all in TXC

I am trying to draw a feynman diagram using feynmf in TXC. I use the following code \documentclass{article} \usepackage{feynmf} \begin{document} \unitlength = 1mm % determine the ...
2
votes
2answers
264 views

How to generate the movie DVD available sound systems symbols?

On the back every movie DVD I have seen there are bunnch of available sound systems characters, they look like a square (just the outside not solid filled) and a number of filled squares on various ...