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

3
votes
1answer
69 views

How to draw randomly spaced square wave

I am new to tikz and am not familiar with nomenclature so please excuse my raw expression here. I need to say a non-periodic square wave. I saw this post How to draw a square wave? which talks about ...
2
votes
4answers
114 views

How to draw a circular and a spiral line between two vectors

I'd like to do the next graph: (Sorry for my terrible draw!) I pretend the red line to be a dashed black spiral line, and I'd like the blue line to be a dashed black circular line. What I've got ...
5
votes
2answers
69 views

How to draw a line between two circles?

I want to create a graph using Asymptote and this graph consists of quite some circles with lines between them. Let me give a small example using two circles. pair a1=(4.5,2); pair a2=(0,0); real ...
7
votes
3answers
124 views

Tikzpicture curvature in path issue

I have written the following code: \begin{tikzpicture} \draw[->] (-1,0) to node [auto]{$f$} (1,0); \draw (-5,-1) node(0)[label=below:{$v_0$}, circle,fill=black,scale=0.3]{}; \draw (-2,-1) ...
7
votes
1answer
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
27
votes
4answers
7k views

How to draw arrows between parts of an equation to show the Math Distributive Property (Multiplication)?

there is a part of my paper where I use the distributive property and it's not that clear for the reader to see (I'm using in proposional logic for a proof). The logic equation (part of) is: (l_{1}) ...
1
vote
1answer
56 views

Diagram in TikZ gives compiling error

Here's my code which is working on the landscape mode: \begin{tikzpicture} \node[rectangle, draw, thick,minimum width=5cm,minimum height=2.20cm] at (0,1){ \begin{tikzpicture} \node[input] ...
0
votes
1answer
45 views
6
votes
4answers
216 views

matrix with tikz

I would like to reproduce the diagram in 2.1 of https://www3.nd.edu/~wgd/Dvi/CalculatingSimplicialLocalizations.pdf So far I have this piece of code but I don't know how to fill cells with ...
0
votes
0answers
18 views

One Diagram contain trees and caption

the situation is as follows: I have one diagram which contains six trees. I want to show the development of the trees. Within a empty line it is possible to adjust the trees paired (As we can see in ...
16
votes
2answers
3k views

Breaking pictures across multiple pages

I am a relative TeX newbie trying to write a new package to generate timelines that can span multiple pages (the existing timeline solutions are not suitable for me, and I would like to write ...
1
vote
2answers
52 views

How do I separate a line in TiKz with arrows?

Here is what I have so far: \documentclass[tikz]{amsart} \usepackage{tikz} \usetikzlibrary{decorations.markings} \usetikzlibrary{arrows} \begin{document} \tikzset{->-/.style={decoration={ ...
3
votes
1answer
60 views

How to draw a number line with arrows inside it

I am having trouble using TiKz to draw a correct picture. Here is how I started it out: \documentclass{amsart} \usepackage{tikz} \usetikzlibrary{decorations.markings} \usetikzlibrary{arrows} ...
11
votes
4answers
744 views

Plot the cusp catastrophe surface

I'm trying to draw (plot) the Cusp catastrophe surface into latex using any software logic. I am completely stuck because I'm definitely not a mathematician. The surface has the potential: V(x) = ...
2
votes
1answer
125 views

Work breakdown structure (WBS) horizontally

I need to do a "work breakdown structure". As it has to many items on the second level i would like to arrange it horizontally? On http://www.texample.net/tikz/examples/work-breakdown-structure/ I ...
2
votes
1answer
95 views

Tikz block diagrams triang

I would like to produce a block diagram similar to the image attached, but I can't get the adder blocks right. Is there a function/command to create a summer block with a plus and a minus in it. Also ...
121
votes
13answers
10k views

Can we make a love heart with LaTeX?

I understand that this post may cause some down votes because it seems a bit off-topic, but having seen the discussions on Christmas Tree with LaTeX I am still willing to try. My Girlfriend's ...
1
vote
0answers
73 views

Syntax/Railroad diagrams in LaTeX [closed]

I'm trying to draw Syntax diagrams in LaTeX. I've tried both rail and syngen. However I can't get either to build properly. Are there any more modern alternatives?
1
vote
1answer
68 views

combination between axis and multi figures

how can I combine a figure of multi images with two axis(x and y)axis like the following attached photo
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 ...
4
votes
3answers
85 views

Drawing undirected graphs in LaTeX

I came across this graph in the question Drawing graphs in LaTeX: without arrows? Is it possible to draw graphs like this one in LaTeX but without the arrows? edit: I found this piece below, but ...
4
votes
3answers
113 views

Commutative diagrams and quantifiers

I encountered in Freyd and Scedrov's book "Categories, Allegories" a diagram of this sort: I wonder how to write this kind of diagram using tikz-cd, TikZ or any other combination of LaTeX packages. ...
2
votes
0answers
46 views

LaTeX code for arrow

What is the LaTeX code for this kind of arrow: These are useful in chemical kinetics and parallel reactions... Also how to draw arrows for redox reactions? I mean those arrows above and ...
328
votes
52answers
87k views

Nice scientific pictures show off

Task Show off your best scientific illustration ! The main purpose of this question is to share beautiful scientific pictures, preferably with an educational aspect. Content Your post must ...
5
votes
2answers
143 views

How can I rotate a function?

I am trying to draw the following picture, however I am wondering how can I rotate the gaussian function, like in the first plot? \documentclass[10pt, compress, usetitleprogressbar]{beamer} %Tikz ...
0
votes
1answer
49 views

Adding symbols to an image [duplicate]

I'd like to add some math symbols to that picture. How can I make it? (I'm using another software to make the pics.)
1
vote
0answers
105 views

Is it possible to draw figures like these?

Is it possible to draw figures like these or is better to just paste it? If it is, what are the best tools or good examples to do it ? example: \draw, \node Using tikz is being my work until ...
1
vote
2answers
54 views

Drawing Linear Process Ball Diagram [duplicate]

Does anyone know how to draw a simple process flow diagram like this?
5
votes
2answers
206 views

Drawing Kano Model

I was wondering if someone can indicate me the easiest way to sketch the following picture. I started using the axis environment from pgfplots package as you can see from my code below, but then I got ...
0
votes
0answers
53 views

Wiring diagrams with pinout

I am trying to draw some wiring diagrams with the pinouts (see image below) possibly using Tikz. Do you know any package or example that could help me to do this? Particularly, the big boxes with ...
8
votes
2answers
1k views

Defining a new command for making functional lines / package

As you have probably guessed from the title my mother tounge is not English. Therefore I have no idea if "Functional lines" is the correct term for what I am looking for. Basically I am looking to ...
1
vote
1answer
132 views

How to draw this picture with Latex?

Could some one help me to draw the following picture with Latex ( using only 1 picture) ? Thank you SO MUCH for your help.
7
votes
2answers
725 views

TikZ: Labeling objects and referencing them

According to the TikZ manual I can use name= to assign a label to the drawings, but when I do the following: \begin{tikzpicture} \draw [ blue, thick, name=e1] (10pt,10pt) ellipse (50pt and 30pt); ...
0
votes
1answer
26 views

Images not showing up [duplicate]

I have a problem with images not showing up. The latex recognises them (see screenshot) but doesn't generate them to pdf document. They are in the same folder. I tried including image extensions and ...
4
votes
2answers
55 views

Put a caption under a drawn picture

I have the following code that produce a 3x3 grid with an arrow in it. Some of the grid cells have a # in them. \begin{picture}(185,90) \put(0,0){\framebox(30,30)} \put(30,0){\framebox(30,30)} ...
15
votes
5answers
583 views

Drawing a block diagram with TiKz

I need some help drawing a block diagram using TiKz. I want draw something similar to this: However, I'm struggling to go further than this so far: using the code below: ...
11
votes
4answers
516 views

How can I draw this circle with different colour?

I am trying to draw the following picture but I have some difficulties. I code the following: \documentclass{article} \usepackage{xcolor,pict2e}% to allow any radius \usepackage{tikz} ...
234
votes
5answers
44k views

Drawing on an image with TikZ

Recently I have learned how to draw simple stuff with TikZ. I really like it. Now I wonder if it is possible to draw with TikZ on a image. Instead of pasting a image in Illustrator and adding some ...
4
votes
1answer
119 views

How can I plot the data from a table when the x column gives the difference between x values?

I want to create a "Trial Profile" chart with TikZ. My data is as follows: Height (Y axis) and time between checkpoints (X axis). y x 0 0 10 3 20 3 40 ...
3
votes
3answers
59 views

commutative diagram without arrow code

I am new to LaTeX. It will be helpful if someone gives me a simple LaTeX code for the following diagram The problem here is: I know the code for commuting diagrams like this only when there is the ...
5
votes
0answers
132 views

Visualisation of planes within hypercubes in LaTex? [closed]

The 3rd hypercube is the cube below where planes cover the space in different ways. The 4th hypercube can be considered as many connected 3rd hypercubes. You are interested in planes, the example is ...
12
votes
3answers
2k views

Grouping objects and applying operation to the group

Forgive me for my perhaps naive questions, I am beginning to discover Tikz potentials. To ease certain operations as moving objects or transforming them, I want to know if there is a mechanism in ...
3
votes
3answers
108 views

a commutative diagram compatible with group actions

I'm trying to draw the following commutative diagram using xymatrix: \documentclass{article} \usepackage[all]{xy} \begin{document} $\xymatrix{A \ar[rr] & & B \\ & C \ar[ul] ...
5
votes
1answer
144 views

First package for typesetting commutative diagrams

What was the first package for typesetting commutative diagrams in Latex and when was it made available?
0
votes
0answers
76 views

Drawing Sequential Function Chart Diagrams in LaTeX

Anybody knows if there is any LaTeX package besides Grafcet that can be used to make SFC diagrams? e.g: Thank you in advance!
0
votes
0answers
34 views

How to generate these “subframes” in tex?

Below is a picture in a double-column paper. Essentially I want to generate a picture like this, putting my four figures into it. So here is my quick question, how to generate the "frame" structures ...
0
votes
2answers
126 views

Block diagram using TikZ

I am trying to draw the following block diagram using TikZ... No way :( Can anyone help me? Thank you so much!!!
5
votes
1answer
101 views

Tikz for Gabriel and Auslander-Reiten quivers

In the context of representation theory, direct graphs —known there as quivers— appear all the time. Here are a few samples (from the book of Assem, Simson andSkowroński) First, a couple of gabriel ...
33
votes
7answers
2k views

Generate analog clock with numbered face, add seconds, Roman numerals

Looking at the excellent answers here, I can't help wondering how I can accomplish two apparently simple modifications: I wanted to be able to generate a traditional Roman-number clock; It would be ...
0
votes
1answer
116 views

Recreating diffraction image with TikZ

I'd like to recreate the image below of an electron beam passing through -- and being diffracted by -- a carbon target onto a curved screen using TikZ. Unfortunately it looks a bit beyond my skill ...