{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
156 views

How to create LaTeX example codes using verbatim and large braces?

I read this question it's useful but isn't exactly what I need. My problem consists in create an array, table or something like that with two columns. In the left one I need to put LaTeX code with ...
1
vote
1answer
114 views

Tikzpicture (pgfplot): Fixing curly braces and labels

I have a major problem (curly braces) and some minor issues I cannot resolve: 1) shift the second curly brace downwards so that both label the upper and lower interval with respect to the turning ...
19
votes
8answers
991 views

Compute and draw a convex hull

How can I use TikZ (+ LuaTeX), PSTricks, MetaPost, Asymptote, etc. to draw the convex hull of a set of points specified in no particular order? Here's an example where the convex hull was computed by ...
0
votes
2answers
568 views

Multiple figures in a two column latex file

I have a two-column latex file that I am writing into (I am using \documentclass{mn2e}). I would like to add 4 figures, with a 2X2 (2rows, 2columns) format, with two figures using the first column of ...
0
votes
0answers
57 views

How to draw Feynman rule and parton process

How to draw Feynman rule and parton process as picture in LaTeX?
3
votes
1answer
207 views

Bending arrows in tikz-cd

Following the advice of LaRiFaRi in an answer to this question, I switched from XY-Pic to tikz-cd. The file below contains my diagram in XY-Pic and in tikz-cd. Please help me to make my diagram in ...
1
vote
1answer
148 views

How to draw a picture in electrical circuit diagrams in Latex?

Now, I'm having a electrical circuit diagrams, i don't know how to draw it's in GeoGebra, please help me, thank you.
3
votes
2answers
107 views

Bending arrow in XY-Pic diagram

In the diagram with bending arrow given by the LaTeX file below, the arrow has a misdirected head. How can I correct it? \documentclass[a4paper,11pt]{amsart} \usepackage[all]{xy} \begin{document} \[ ...
3
votes
1answer
144 views

Draw grid lines for grouped bar chart/diagram

Me again.. I have a grouped bar chart and I would like to add vertical grid lines for each group because with a smaller width all bars are too close to each other making it hard to look at. My MWE: ...
2
votes
1answer
97 views

How to draw a diagram with the given semantic?

I need to draw a diagram similar to the following: The task is to draw a diagram with this semantics, not necessarily the same appearance. Note that in the above diagram $\sqsupseteq$ denotes a ...
2
votes
1answer
107 views

How to draw table diagrams.

How can I create diagrams like below, with tables and arrows. I am looking for boilerplate code on which I can build on further. Secondly, is there any other tool which can make drawing such ...
1
vote
1answer
98 views

How can I create two columns with pictures?

I need some help. I need to put some pictures in a document with two columns and right now I'm using: \begin{figure} \centering \includegraphics[width=1\linewidth]{1} \caption{Réactions catalytiques ...
0
votes
1answer
29 views

Shrink one of two pictures in a picture environment using subcaption but keeping captions alligned

I'm trying to put two pictures beneath eachother within the same figure environment using subcaptions. I would like both subcaptions (which is just a) and b) in my case) to be alligned vertically. ...
7
votes
1answer
195 views

Separate content from formatting - i.e., “just type”

What exactly does "separate content from formatting (style)" mean? And if it's "necessary", how do I do it practically? After reading many LaTeX documents and TeX Stack Exchange, I keep seeing ...
8
votes
5answers
766 views

Automatically generate multiplication table and colour specific rown, columns, and diagonals

Consider the following PSTricks code: \documentclass{article} \usepackage{pstricks,multido} \psset{dimen = m, fillstyle = solid} \begin{document} \begin{figure} \centering ...
0
votes
0answers
38 views

How write a symbol of the circle in the Latex? [duplicate]

How write a symbol of the circle in the Latex?
5
votes
1answer
123 views

Help improving a diagram with Tikz?

I'm trying to get the hang of Tikz - I've seen some amazing stuff done with it out there. I'm currently writing a Pure Maths book for A-Level and I need to include loads of diagrams, one of which is: ...
1
vote
0answers
69 views

How to make the column with line scatter graph. (Double Y)

I want to make this graph. I have only excel data.
12
votes
5answers
642 views

Creating complex diagrams

I need some help devising a method for further cases. I've searced tex.stackexchange.com for a solution but have so far not seen examples that help me much. In writing my thesis, on musicology, I ...
6
votes
2answers
202 views

How to draw interlocking tori with Tikz?

I need to draw a couple of interlocking tori, as in the picture, using Tikz. I've been looking at some examples online and all I find is instructions to do it with Gnuplot, nothing about Tikz. If ...
3
votes
1answer
181 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 ...
8
votes
3answers
247 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) ...
3
votes
4answers
237 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
232 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 ...
1
vote
1answer
181 views

How to make the flow chart in LaTeX? [duplicate]

How to make the flow chart in LaTeX?
1
vote
1answer
171 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] ...
3
votes
1answer
128 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 ...
6
votes
4answers
474 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 ...
1
vote
2answers
93 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
242 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} ...
4
votes
1answer
420 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
0answers
184 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?
4
votes
3answers
169 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
1answer
132 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 ...
6
votes
3answers
4k 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 ...
5
votes
2answers
179 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
57 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
142 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 ...
2
votes
2answers
119 views

Drawing Linear Process Ball Diagram [duplicate]

Does anyone know how to draw a simple process flow diagram like this?
5
votes
2answers
353 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
87 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 ...
1
vote
1answer
147 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.
0
votes
1answer
38 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
226 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)} ...
11
votes
4answers
603 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} ...
16
votes
5answers
1k 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: ...
4
votes
1answer
171 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 ...
4
votes
3answers
93 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 ...
3
votes
3answers
265 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] ...
0
votes
0answers
215 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!