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

5
votes
2answers
242 views

Tikz: Finding the middle of a line (relative positioning)

I started to draw some simple points and curves in a tikzpicture. But I am not sure if it's the best idea to use specific coordinates anymore. In this case I have to make up some linear function as ...
4
votes
0answers
333 views

Creating a timeline

I am working on my thesis and need to create a timeline similar to this: I tried Chronosys package but am not sure if this is a good choice. \documentclass{article} \usepackage{chronosys} ...
5
votes
3answers
181 views

How can I create vertical bars showing a field extension?

Specifically, I would like to create something like this:
0
votes
2answers
284 views

What is the closest solution to Microsoft Visio with Latex text?

I'd like to have a program where I can model diagrams like in Microsoft Visio and write math formulas in Latex on it. It would be nice to see the rendered formulas (which can be edited in some way, ...
3
votes
1answer
170 views

How to: Lorenz curve (TikZ)

I would like to draw several Lorenz curves. I don't have concrete data point but have to illustrate in each case some general aspect of the concept. Compare e.g. Lorenz crossing: It's not that ...
2
votes
1answer
43 views

htlatex crops too much for picture environment

I use htlatex to convert a large latex file to html pages. All works with one exception. Anything drawn in the picture environment gets cropped. I have isolated the problem in the code example below. ...
5
votes
2answers
131 views

Create tangent lines at set intervals along rotated ellipse

I'm trying to draw tangent lines to a rotated ellipse at a small interval, but I'm not sure what the best way to do this. I could just get the slopes from Wolfram Alpha, but I'd rather not hardcode ...
0
votes
0answers
96 views

Which package can I use to draw this diagram?

I wan to draw this digram below with latex which package can I use to draw it? ]1
1
vote
1answer
87 views

Query regarding Graphics by latex

Hi I am beginner in Latex, my question is that, Is it possible to draw figures given in file by using latex?
3
votes
1answer
235 views

Beginning a Simple Latex Diagram with Squares and Arrows

I'm not sure if this is an acceptable kind of question, but figured I'd give it a shot. I'm trying to replicate a basic diagram using LaTeX (as this one is bad quality), but I'm having trouble ...
1
vote
0answers
96 views

Plumbing Diagrams in Latex

How do I make a diagram like this: using latex?
2
votes
1answer
63 views

Display a lot of variables in a 2D Diagram

I have a table with values like this: --------------------------------- | Function | Dimension | Result | --------------------------------- | 1 | 1 | 15% | ...
5
votes
3answers
780 views

Smart Art flow diagram?

How to make a horizontal flow diagram in latex like: If posible i would like some colors in it. Thank you
4
votes
4answers
208 views

How to draw this region

Any idea how to draw this using Latex. Having difficulties with the shaded region. \begin{figure}[h] \begin{tikzpicture} \tkzInit[xmax=6,ymax=6,xmin=-6,ymin=-6] \tkzAxeXY \draw[ ...
4
votes
2answers
113 views

Adjust the distance between one pair of blocks in block diagram

I want to move only the second block near to the third block so that variables between first and second block are clearly seen. Other parts of block diagram should be kept the same. I have attached ...
30
votes
2answers
617 views

drawing patterns based on prime factorization

can someone help me generate code to type the diagram for any given natural number based on its prime factorization such as these diagrams consider the next number 36 and its prime factorization, ...
1
vote
1answer
68 views

Question marks when I use rail package

I'm trying to compile syntax diagrams with the rail package, but all diagrams, no matter how large, come out like the following screenshot, a single rounded box with three question marks in it. ...
2
votes
1answer
112 views

How may I put labels on the corners/vertices of a cube?

I have a cube as per the answer to my question How may I put arrows along some edges of a cube?. Now I want to label the 8 corners/vertices with labels like $\mathbf{O}\lnot \lmathbf{B}\lnot q$.How ...
1
vote
1answer
60 views

How may I put arrows along some edges of a cube?

I want to put some arrows along some edges of a cube such as in the answer I accepted for the following question: How may I color four sides of a cube?. How can this best be done? Here are the arrows ...
2
votes
0answers
101 views

Word Cloud - Searchable (no images) for research keywords

I am trying to create a word cloud with LaTex for my research keywords. I would like to make it searchable (thus not an image) and to make sure that LaTex does not divide my research keywords (which ...
4
votes
3answers
409 views

Draw uniform lines/grid on a distorted square/axes?

I want to draw a square discretised by equally spaced lines. However, if I move one of the nodes, say node 4, the grid lines will keep it's relative spacing (see the image). I have no idea what to ...
0
votes
2answers
157 views

How may I color four sides of a cube?

I want to color four sides of a cube for an illustration. Let the corners of the cube be designated by the eight Cartesian coordinates $(0,0,0)$, $(0,0,1)$, $(0,1,0)$, $(0,1,1)$, $(1,0,0)$, $(1,0,1)$, ...
1
vote
1answer
142 views

How to draw longitude lines on sphere

Here is what I have so far: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \fill[ball color=blue!20] (0,0) circle (1.5 cm); \newcommand\longitude[1]{% \draw (#1:1.5) ...
0
votes
0answers
37 views

How to remove horizontal grid from sphere pspicture

Here is what I have so far: \documentclass{amsart} \usepackage{pst-solides3d} \begin{document} \psset{Decran=20,viewpoint=40 20 20 rtp2xyz,lightsrc=viewpoint,action=draw**, ...
3
votes
3answers
206 views

Tikz Flowchart nodes needed refinement

I made the following diagram in Tikz. MWE is given below and it needs some refinement for nodes where they split into two arrows. Any help will be highly appreciated. Thanks ...
22
votes
2answers
1k views

How to make these boxes?

I don't know how exactly to call what I want to implement. It's like a box surrounded with a line and, depending on the context, I want to place a graphic on the right corner e.g. a light bulb or a ...
5
votes
3answers
282 views

Drawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawing

I'd like to draw a rectilinear path by starting at a particular location, and then prescribing increments in the horizontal and vertical directions. I am currently doing something like this ...
2
votes
3answers
245 views

Litte diagram in LaTeX

I would like to draw the following diagram in my text: How could I proceed?
3
votes
2answers
122 views

Diagram in Latex

Could anyone help me with the code in Latex to reproduce the diagram attached figure. Already thanks!
5
votes
1answer
470 views

Block diagram with Tikz

It's the first time I'm using Tikz on Latex. I have to draw this block diagram (this is a low resolution snip from a paper) In Tikz I have done this: That is very similar but I need some ...
2
votes
3answers
246 views

Illustrate transitions between states in Markov chain

How can I make a diagram like this to illustrate state transition probabilities?
2
votes
0answers
59 views

Draw sign lines with function expressions? [duplicate]

I am trying to draw a sign line like the one in the image in LaTeX. How can I do this?
1
vote
1answer
231 views

Drawing a block diagram in Tikz

I would really like to create multiple variations on the image attached. Even a basic template to get me started would be great.
2
votes
1answer
112 views

Overlay text on an image

I'm trying to create an image with some text overlaid, similar to the below example. I'm struggling to find something that works, and supports all the formatting I want to include. Essentially the ...
7
votes
3answers
192 views

Bent arrow in a diagram

I'm wondering how one would do a diagram like this one: I don't know how to make the bent arrows and I would also like to have the text (in this case "...") in the middle of the arrow. Here is a ...
2
votes
2answers
136 views

Tikzcd diagrams vs. amscd

I am a bit new to tikz environment, but following the advices of the good experts of this site I am trying to replace all my commutative diagrams built with the amscd package with ones built with the ...
3
votes
1answer
72 views

Vertically center elements in rows of array

In the following table, I would like to center the Venn diagrams vertically. Here is a MWE showing my diagrams aligned "top": \documentclass[letterpaper,10pt,american]{article} \usepackage[left=1 in, ...
15
votes
4answers
1k views

Generate all 16 possible 2-variable shaded Venn diagrams in TikZ?

Let P and Q be two statements, each with 2 possible truth values: true (T) or false (F). These component statements P and Q can be joined by 16 possible binary connectives to form 16 unique simple ...
0
votes
6answers
255 views

I'm new to Latex Drawing. Can Someone show me how to draw this diagram

Note that there is an accidental ink smudge near D and F. Your help is deeply appreciated.
3
votes
1answer
182 views

Add Arrow in Timeline in LaTeX

I am trying to figure out the following problem: I have a timeline in LaTex that displays the procedure of a process. The order of two points in that timeline is subject to a random change. To display ...
11
votes
3answers
617 views

Tikz: Better way to draw this simple diagram

I want to draw something like this diagram in TikZ. My code is: \documentclass[a4paper]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture} \node ...
1
vote
1answer
140 views

String diagrams in monoidal categories

I'm writing a paper which contains a chapter on a certain kind of monoidal categories (spherical, that is) and I would like to include the usual graphical calculus for morphisms. In particular, I'm ...
1
vote
0answers
61 views

What software/package can be used to draw something like this? [duplicate]

I refer to Allen Hatcher's famous book on Algebraic Topology: http://www.math.cornell.edu/~hatcher/AT/ATch1.pdf What software or LaTeX package can be used to draw those figures? Or are those best ...
1
vote
0answers
64 views

Package for Gowin's vee

I couldn't find a latex package that could help me do a Gowin's vee. Does anyone know if there's one? In any case, what package could be of help. Thanks! Here's some examples of what a Gowin's vee ...
0
votes
1answer
80 views

Temperature/atmosphere graphics

I would like to draw the following image but I can't imagine how to handle it (packages? Tikz?). I'd really appreciate your precious help.
5
votes
1answer
376 views

How to use the constellation diagram with border but without colors

I like to draw the below diagram without colours but i need the borders \documentclass{article} \usepackage{smartdiagram} \begin{document} \smartdiagramset{ planet size=2cm, distance ...
3
votes
1answer
350 views

How to create classification taxonomies for Literature Review using Latex?

I have to make a literature review taxonomy for my final thesis, highlighting the salient features of each paper referred, its categories etc. I want to represent this diagrammatically using a ...
3
votes
1answer
150 views

Add plot to node in Tikz matrix

Using the code at the end, I was able to create this image. I would like to add a plot (I'm plotting kernel densities) to each of the nodes on the edge, and move their labels below the plot, ...
5
votes
1answer
106 views

Assistance fixing this drawing of interlocking tori using sketch/tikz

I am trying to draw an interlocking tori like this one: For this I have been looking for the web for similar images and then have tried to modify the code. So far I got to this: def torus { ...
2
votes
1answer
106 views

pgfplots plot stops at x-value of 5

I have a short question. I made the pgfplot below. But somehow all the functions are only shown to the x-value of 5. It behaves "normal" when the definitions [ width=10cm, height=7.5cm, xmin=0, ...