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

0
votes
0answers
3 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 ...
7
votes
3answers
116 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) ...
2
votes
4answers
109 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
65 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 ...
0
votes
1answer
42 views

How to make the flow chart in LaTeX?

How to make the flow chart in LaTeX?
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
0answers
16 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
211 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
51 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} ...
2
votes
1answer
122 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 ...
1
vote
0answers
72 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
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
45 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 ...
4
votes
3answers
83 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
142 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
104 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
52 views

Drawing Linear Process Ball Diagram [duplicate]

Does anyone know how to draw a simple process flow diagram like this?
5
votes
2answers
204 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
52 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
131 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
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
54 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
515 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} ...
15
votes
5answers
577 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
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 ...
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] ...
0
votes
0answers
75 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 ...
5
votes
1answer
99 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 ...
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!!!
1
vote
1answer
78 views

How can I create particle-in-a-box diagrams in LaTeX?

Interested in creating particle in box diagrams at various energy levels and dimensions. Does anyone have source code to do so or suggestions of good packages to use?
2
votes
2answers
168 views

Creating figure (cycle) in latex

I want to make a figure the same or similar to this one: I really have no clue on how or where to start as I have very little LaTeX experience. I would be very grateful if somebody could help.
0
votes
2answers
97 views

Trying to Write on image

I was trying to edit a diagram and add a dimension line , as you see in the attached image,but I could not reach the arrows appropriate to draw the same arrow, if it's possible to do that in Latex , I ...
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 ...
16
votes
1answer
273 views

How to get intersection points of a self intersecting path?

(Tricky question.) I'm trying to get intersection points of one individual/arbitrary curve instead of searching intersection points among many curves. We can get intersection points of two different ...
1
vote
1answer
67 views

Diagram with exact sequences

I have to draw the diagram in the following picture: I'm trying to use this code but I cannot draw the vertical part. \begin{tikzcd} 0 \arrow[r] & L(-D) ...
5
votes
1answer
109 views

Help with a diagram in LaTeX

How can I draw this in LaTeX without colour (only black and white)? I managed to get my code to represent every part but I need the arrow in the middle \begin{tikzpicture}[sharp corners=2pt,inner ...
11
votes
4answers
543 views

Drawing graphical model without a package

I would like to draw the following graph: without using any TikZ style library. I have tried putting \phantom to make X and Y aligned, it did not work (don't know why). Additionally, putting ...
0
votes
1answer
115 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 ...
1
vote
0answers
84 views

unusual distance between the paragraphs ,how to fix [closed]

Hi all as you see in the screenshot, I have put no distance command like \ or vspace but the latex has opted to make this space, I use texmaker as the environment and here is part of the code I ...
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
3
votes
1answer
36 views

How to prevent texstudio from completing “arrowvert”

I'm drawing commutative diagrams using tikz-cd, using texstudio. However, every time I write "\arrow[", texstudio replaces that with "\arrowvert[". This is really annoying. Can I change that ...
4
votes
1answer
151 views

Generating modular diagrams with TikZ

I am looking for a better way to create images like the following: I want to make diagram with blocks and ports (the things with Greek letters) so that I can do the following: Not have to space ...
3
votes
1answer
137 views

Loop arrow in xypic

I am trying to get a loop arrow in an xypic diagram, and I just can't. For now, I have the following: \[\xymatrix{ p^{-1}(U_{\alpha})\ar[rr]^-{\tau_{\alpha}} & & U_{\alpha}\times\mathbb ...
2
votes
1answer
94 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 ...
4
votes
0answers
57 views

Brat for NLP in latex

I was wondering if there is any package for text annotation in Latex like Brat. This is the kind of result I would like to obtain in a figure: Is there a way to achieve that by using brat or some ...
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 ...