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

13
votes
2answers
740 views

How to draw spherical triangles?

Does anyone know how to draw spherical arcs and spherical triangles using LaTeX?
4
votes
1answer
180 views

How to put picture into glossary entry?

I'm using the Glossaries package, which is fantastic, but I'd like to put in pictures which explain the term better than words would. Is there a way for me to do this?
6
votes
3answers
2k views

How can I produce a Hasse (or lattice) diagram?

I want to produce a some kind of lattice diagram, such as a Hasse diagram. How can I do so? I tried using matrix with letters and slashes but it seems ugly. Do I need any additional packages? EDIT: ...
1
vote
1answer
196 views

Label the source/target object in the middle of compositemaps from 2cell package of xy?

In the 2cell package for xy, there is a command for typesetting 2cells between composite arrows, namely \..compositearrow (where the .. stands for some number of u,l,d,r). I would like to use this ...
2
votes
1answer
215 views

Change the orientation of Arrow of xtwocell in the 2cell option for xy

I'm trying to make a diagram similar to this (from wikipedia) Except that I want to the double arrow $\eta$ two be pointing from node $B$ toward the middle of arrow $X$ (it is, after all, a natural ...
5
votes
1answer
816 views

Tikz automaton placed too far to the right

So I'm having a bit of trouble drawing an automaton that I've created. I've been looking around for a while to no real avail, so I decided to just ask the question myself: when I make an automaton ...
0
votes
1answer
329 views

Can LaTeX create graphics with mathematical curves? [duplicate]

I am trying to see how good LaTeX is. Can someone show me whether graphics like this. Thank you due to copyright complains removed the figure.
3
votes
1answer
260 views

Representing Equivalence Relations with Nodes, Loops, and Edges

I've never used TikZ for illustrating equivalence relations, but I thought I'd try it out. What I'd like to produce is something like this: What is the general method for connecting points to ...
3
votes
1answer
349 views

Change color of vertex outline in tkz-graph

Suppose I have the following graph: \documentclass[]{article} \usepackage[utf8]{inputenc} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{fullpage} \usepackage[upright]{fourier} ...
4
votes
1answer
184 views

TikZ and PGF — Design considerations and approach to sizing pictures?

The first pages of the TikZ/PGF manual specifies that measurements are in points, centimeters, or are relational to other lines/objects, but I don't understand how to determine that up front. I have ...
5
votes
1answer
191 views

Relational Grammar arcs

I'm quite used to draw syntactic trees and even AVMs for different linguistic theories, but I've stumbled upon the need to draw Relational Grammar / Arc-paired grammar arcs for a paper I'm writing ...
1
vote
5answers
577 views

Draw a picture of primes ideal lying over a prime ideal

Let $K$ be a number field and $L$ be a finite extension of $K$. Then, let $\mathfrak{p}$ be a prime in $K$ and $\mathfrak{P}$ be a prime lying over $\mathfrak{p}$. I would like to draw the following ...
5
votes
2answers
735 views

Flow of current in a circuit

I am trying to create a circuit with resistors and voltage sources. I need to have each resistor labeled with their resistance (above) and the unknown current (below) flowing through the resistor. I ...
12
votes
3answers
413 views

Draw Polygonal Number Using PSTricks (or TikZ)

I would like to draw the following using PSTricks (or TikZ): (Found on http://i1.wp.com/mathandmultimedia.com/wp-content/uploads/2012/08/polygonal-numbers.png.) I can do it myself using an ...
4
votes
2answers
633 views

Creating a digraph with formulas instead of nodes

I am looking to make a diagram with lines similar to this one: Labeling Edges in a Weighted Digraph But I am trying to have a mathematical formula, which is the label, instead of being above the dot ...
36
votes
3answers
3k views

Replicate the Fourier transform time-frequency domains correspondence illustration using TikZ

The following time-frequency correspondence illustration is in the wikipedia entry of the Fourier transform. Also a gif animation version (if the animation doesn't show, please open the following ...
3
votes
2answers
436 views

Drawing line around obstacle in circuit diagram

I have a circuit diagram with 3 DFFs (rectangles) and an xor gate (pointy bit on the right). For reference, let's identify the components from left to right as x[n], DFF0, DFF1, DFF2 and XOR0. ...
4
votes
1answer
244 views

How to draw compactification and completely regular diagrams in tikz

How can we draw diagrams like this: and
-1
votes
0answers
85 views

How draw an add-two shape? [closed]

I have two shapes: (x0,y0) (x1,y1) ..... end is join to x0,y0 ... How get shape who is additive this two shapes?
5
votes
1answer
132 views

change numbering when using \foreach to assign numbers for aid lines in a diagram

\documentclass[11pt]{article} \usepackage{xfrac, array, tabu, multirow, graphicx, setspace, dcolumn, tikz} \usepackage[fleqn]{mathtools} \usepackage[ngerman]{babel} \usepackage[applemac]{inputenc} ...
11
votes
3answers
387 views

Vertical cofibration arrow in xypic

I want to use xypic to make diagrams using vertical cofibration arrows, i.e. ones that look like $\rightarrowtail$. Naively using \ar@{>->} gives an arrow whose tail overlaps with the ...
5
votes
1answer
303 views

How to specify start and end date of \chronoperiode in a dd/mm/yyyy format

The package chronosys allows to draw a timeline with a reasonable degree of customization, without the need to draw it by yourself using tikz or similar tools. In my opinion, is the most promising ...
5
votes
1answer
2k views

Declare function for tikzpicture

I'd like to declare a function that will be part of the equation that I then want to plot. The equation that I want to plot is defined as \frac{e^{-rT}N'(d_{2})}{S\sigma\sqrt{T}} The function to ...
4
votes
1answer
426 views

What tool to make flow graphs in Linux?

SQLite documentation is very nice with graphs such as Any idea of what software can I use to do similar picture? It would be perfect if the images could be described textually, instead of drawing ...
2
votes
1answer
270 views

How to fix venn diagram

I would like to make a venn diagram with Tikz, but instead of labeling A, B or C each circle I'd like to give some other names. However, having read the manual I've changed their labels but each new ...
1
vote
0answers
228 views

Making Diagrams in TIKZ [closed]

I am making a diagram of a cellular reaction pathway and I'd like the chain of reactions to be surrounded by a large circle, which will of course be the cell membrane. For the life of me though, I ...
7
votes
1answer
1k views

Energy level diagrams with TeX

Do you have any experience with creating energy level diagrams with TeX as shown below ? What software/packages would you recommend me ? I've heard about TikZ, but I don't have any experience with ...
0
votes
1answer
477 views

How do you draw the next graphics examples of limits in LaTeX?

How do you draw the next graphics examples of limits in LaTeX?
12
votes
2answers
6k views

Positioning TikZ pictures

How do I position a TikZ picture relative to body text? I have drawn a circle using TikZ and would like to position it to the side of the body text (so it is easy to see as you're reading, but not in ...
11
votes
2answers
6k views

Histogram with Tikz

I am a newbie in TeX. And I need to use Tikz to make a copy of this histogram Of course, I am able to make something similar. Unfortunately, I need a replica (90%) of it. Can anybody help me? ...
5
votes
1answer
1k views

Display Database Instance Relationship with TikZ

I'm trying to display all of my corporate database instances and their relationship to each other, so to speak the database links. I found the geometry shape cylinder using TikZ ...
2
votes
1answer
232 views

Oval in picture environment has discontinuous corners

I am trying to create a rounded rectangle so I used the \oval command inside the picture environment but the corners do not connect and are of a different thickness. How can I fix this? MWE: ...
1
vote
0answers
29 views

Should labels in tikz / pgfplots / etc. have serifs? [duplicate]

By default, diagrams in tikz and pgfplots inherit the style of the surrounding document, which is a good thing. However, I've read that serifs are good for large bodies of printed text (the main text ...
6
votes
2answers
573 views

Problem bending arrows in xypic

I'm having an annoying problem bending an arrow with xypic. I read the part 2.8 of the manual (http://www-bcf.usc.edu/~cautis/tools/xypic.pdf‎) about bending arrows, but could not understand it. ...
13
votes
2answers
5k 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
201 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
335 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
247 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
530 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
708 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
315 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
370 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
582 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
995 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
548 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
328 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
2k 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
561 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
298 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 ...