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

2
votes
2answers
128 views

How to plot this beautiful figure

I have to plot a figure in my paper, but I find problems in doing it (see below), can you give me some tips? Some code (either LaTeX or Matlab) will be helpful.
1
vote
0answers
68 views

Fading along a plot line in tikz

I'm using the following to draw the electron wavefunction around an atom. I'd like to fade out the line towards it's end. I've read all the relevant questions I can find, Any ideas? ...
5
votes
2answers
194 views

Making a diagram like this in TeX?

I want to make two diagrams, along these lines: I'm having trouble finding a way to do it most simply, I've been able to do it with bubbles which I then don't draw the borders of, but that leaves a ...
6
votes
1answer
147 views

Asymptote: How to draw surfaces with more than four vertices without “seams?”

In Asymptote 3D, I need to draw surfaces with more than 4 vertices, but when I do, either it simply doesn't work (I can't reproduce this in a simple example, but can provide a more complicated case ...
19
votes
8answers
741 views

Knowledge indicators

I'm writing my CV with LaTeX and I would like to add knowledge indicators next to my skills. I'm looking for a package that can display a "vertical stack". Something like: German ≡ English = Chinese ...
4
votes
1answer
113 views

Convert image to code (TikZ? PSTricks?)

I have a ... pdf file, which contains figures of plots such as the following: Now the second plot isn't too hard to draw on TikZ (I assume... I hope? I don't have any experience apart from ...
2
votes
3answers
58 views

Is it possible to produce a comparison network

Is it possible to produce a comparison network, similar to the one shown in the diagram here: I've looked at using \rule's, but I can't get them to produce lines in my code. Also how can I add a ...
2
votes
2answers
45 views

Arranging the arrows in align environment without using tikz-cd

I have previously asked this question. To be self explanatory I would like to state it here once again: I have the following code and I dont know how to align the two horizontal \Longleftrightarrows ...
0
votes
0answers
46 views

Plot convolution neural network architecture

I've seen two common ways to represent convolutional neural network architectures: The one used in the imagenet paper(figure2), and the original one. I would like to build my own using PGF/TikZ. Do ...
4
votes
3answers
216 views

A longer arrow in a diagram

I created the following diagram: \begin{equation} \begin{array}{ccc} && A \\ &\rotatebox{45}{$\longrightarrow$}& \rotatebox{90}{$\subseteq$}\\ B&\subset& C \end{array} ...
9
votes
5answers
351 views

Point of tangency and tangent line to a circle

The following question is based on an assignment I wrote for my students to determine the point of tangency of a circle with center origin and radius r. I have managed to get the diagram I wanted ...
8
votes
8answers
641 views

Drawing minimal xy axis

can anybody help me to draw this minimal example of an xy axis? I couldn't find anything similar on the forum. The axis should be black but the grid behind it a shade o gray, dashed. It would be ...
2
votes
1answer
58 views

How can I insert multiple pictures in a beamer foil?

I want to implement the slide shown below in beamer .Please let me know how I should go about this.
0
votes
1answer
137 views

How do i create this graph on latex?

So…i made this graph using paint(!)…and it looks horrible. I have used tikz to create similar graphs but this one seems to be more difficult.
6
votes
3answers
377 views

How to draw state transition diagrams like this?

I'm doing a project on epidemiologies and I am reading a paper of which I really like the appearance of the transition state diagrams, but I can not get mine to look as good. Having an example would ...
-1
votes
1answer
73 views

How to create a figure of our own

I want to create the following picture in LaTeX. How can I do this?
4
votes
1answer
93 views

Videos in beamer inside boxes?

I'm absolute beginner in bearmer not latex. I would like to add videos insides boxes as the following picture. How possible is that?
3
votes
1answer
47 views

Structogram too long

I'm usingstruktex to design some long structograms. Does anyone know how to have a long structogram be separated onto the next page? I guess the easy fix would be to "cut it" where I see it ...
2
votes
1answer
47 views

Superposition with Structograms

I am using struktex to design some structograms (NSD), and I want to have a file with two of them in a row, and eventually copy and paste either into my larger file. I wrote the first (here shown ...
7
votes
1answer
515 views

TikZ path decorated with coil or snake

A recurrent question on the forum is... How to draw a decorated path without a straight segment at the end? Usually the path described are straight lines (See post1, post2 or post3), but there are ...
4
votes
2answers
61 views

Why is default origin off the page in picture environment

This may be a stupid question, but where is the origin on the page for picture environment? Every thing I read says that (x,y)=(0,0) is at the lower, left corner. But for me, x=0 is to the right of ...
3
votes
1answer
97 views

How to plot sinusoidal and absolute functions?

I have to draw this diagram with plots of these three functions: The code I already have is \begin{tikzpicture}[scale=0.75] \begin{axis}[xlabel=$t$,ylabel=$x(t)y(t)z(t)$,xmin=0, ...
0
votes
1answer
82 views

Electrical diagram

This is the sheme i've made : And the code is: \begin{circuitikz}[european] \draw (0,0) to[sV,l_=$u_G$] (0,2.7) to[generic,l=$R_G$,i_=$i_{ul}$](2.5,2.7) to[generic,l_=$h_{ie1}$,i=$i_{b1}$] ...
0
votes
0answers
55 views

How to draw Timed Hybrid Petri Nets with tex?

Reading David, René, and Hassane Alla. Discrete, continuous, and hybrid Petri nets. Springer, 2010. I wonder how can one drow such thing in TeX: This is not a retirical question - a technological ...
1
vote
0answers
65 views

constructing drag like model

Good day all, I am trying something rather new. Though it might take time, but I will be glad if anybody could help. I tried to modify existing figure but they couldn't create what i want. My MWE is ...
1
vote
2answers
107 views

Beamer Tikz-cd Problem

I have a problem with tikz-cd. When I try to compile in beamer it doesn't work and I no have idea why. Can someone help-me, please? \documentclass[aspectratio=169]{beamer} \usetheme{Warsaw} ...
8
votes
5answers
651 views

How do I draw Archimedean lattices in LaTeX?

I was trying to draw these two lattices in LaTeX for hours, but making no progress. Could someone please remind me the key code of doing so? Thanks a lot! Happy New Year!
1
vote
0answers
154 views

Quiver Diagrams in Tex

How can I draw Quiver diagrams (for a specific gauge theory) in Tex like the followings? Diagrams have been taken from the following thesis: A Pedagogical Introduction to the AGT Conjecture Any ...
3
votes
2answers
111 views

Creating shapes like circle, rotated squares, and triangle without tikz

In the previous post, I got help with creating boxes with black borders and custom fills. How can I create other shapes like triangles, circles, rotated squares, etc. with custom fills. I do not ...
1
vote
0answers
36 views

Modern Classic CV title edit

I would like to edit the title part in the modern classic cv. I would like it to look exactly like the modern classic cover letter temp with a pict on the right hand side. any idea ?
8
votes
3answers
162 views

Normalized tangent vectors along a curve

I am using the following code to add the tangent vector at various points along a curve. I would like to normalize each vector, thus resulting in tangent vectors of equal unit length. How might I ...
2
votes
1answer
97 views

How to recover this Tikz drawing that no longer compiles

Over a year ago I created a graphic in TikZ and made it public on wikicomon wikicomomns. I posted also the code to create the graphic. Since then I changed computer and when I tried to use the code I ...
0
votes
1answer
42 views

Problems with a wordpress commutative diagram [closed]

I am trying to create a wordpress commutative diagram. The code that I have entered is $latex \usepackage[all]{xy} \xymatrix{F(M)\ar[r]^{F(f)}\ar[d]^{m_M} & ...
4
votes
1answer
118 views

Is there a predefined bandpass filter block in tikz?

I want to create this block diagram. \documentclass{article} \usepackage{tikz} \usepackage{circuitikz} \usepackage{pst-solides3d} \usetikzlibrary{shapes,decorations} ...
1
vote
2answers
172 views

TikZ: Draw angle with label between lines

How do I draw an angle with a label between two lines when the lines are not necessarily drawn in the same \draw call? I need to draw an angle with a label, theta, between the y-axis and the pendulum ...
2
votes
2answers
101 views

TikZ ER Diagram - stopping relations from drawing across cells

I've adapted code from this post The problem that I'm having is that the relations (lines) between tables are crossing over tables rather than going around them. The MWE is quite long but here it ...
2
votes
1answer
35 views

Moving arrows and nodes in tikzcd for Mayer-Vietors sequence

I encountered the problem, that for the direct sum, I want the arrow to go down, starting from the first summand, and not from the middle. No Problem, I can xshift the arrow. But what about the target ...
3
votes
2answers
168 views

Ideas for high-level data structure visualization?

I want to create a (graphical) representation for a custom HL7 v2 message structure. In this scenario, I'm only concerned with the high-level message structure - the arrangement and usage of the ...
95
votes
9answers
9k views

Simulating hand-drawn lines

I am working on a project that will have some vector graphics, perhaps using TikZ (or a similar package). All of the graphics consists of lines, in shades of gray. However, the lines from TikZ appear ...
0
votes
3answers
103 views

How can I draw commutative diagrams in LaTeX? [duplicate]

I would like to learn to make commutative rectangles as in http://www.math.helsinki.fi/kurssit/alggeom/h7.gif by using Tikz. How can I do that? I tried \[\begin{tikzcd} A \arrow{r}{\varphi} ...
1
vote
2answers
99 views

How to draw Young diagrams in LyX

I would like to draw Young diagrams with LyX. I found the LaTeX package yountab which allows me to draw such diagrams in LaTeX, but I have no idea how to install it on LyX. How should I go about ...
3
votes
0answers
307 views

Draw a tRNA diagram

I am new to TeX. I want to draw a figure with many tRNA secondary structure Which packages to use to draw the tRNA itself? Are there any guides or tutorials?
1
vote
3answers
756 views

Technical Drawing Using LaTeX

I wanted to draw this particular image in LaTeX but I don't know where to start: I have no minimal working example I am just asking for directions please don't ridicule me.
3
votes
2answers
212 views

Looking for a timetable diagram

How can I archieve a diagram like below?
2
votes
1answer
71 views

Typesetting Triangulations

On page 49 of these notes appears the following diagram of a triangulation of a torus: Noting I work in LyX, Can anyone give code to reproduce this beautiful diagram? Where can I learn how to ...
2
votes
1answer
55 views

How to draw disconnected Feynman diagrams with the feynMF package?

I just discovered the feynMF package, a really neat tool for drawing Feynman diagrams. I went ahead and drew a few diagrams which I'll include here just to set the right spirit for this question. I ...
4
votes
1answer
115 views

How to draw this diagram

Please help me to draw the following diagram: \begin{displaymath} \xymatrix{ H\ar[r]&H .1={}_HI_Q\supset 1.Q&Q\ar[l]_\epsilon^{\cong} \\ &R\ar[u]\ar[r]&R\ar[u] } \end{displaymath} ...
5
votes
3answers
182 views

How to plot hyperbola giving the foci and the fixed differene distance using TikZ

Given the two foci coordinates $(x_1,y_1)$ and $(x_2,y_2)$ of the hyperbola and the fixed difference distance, how I can draw it using TikZ? Here a brief explanation:
2
votes
2answers
81 views

Plotting and labelling points on a graph

I'm using Beamer and I desperately need to have a picture of the following image: the elliptic curve $y^2=x^3+17$, with points R = (-2, -3), -R = (-2, 3), P = (4,9) and Q=(2,5). I'd also like a ...
0
votes
1answer
75 views

How Can I Shorten This?

I am trying to create the marks needed for this graph and this process is very lengthy. Is there a shorter way I could do this? I am trying to create a mark at every 1/6 mark between 1 and 6 so that I ...