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

I don't know how to draw a picture like this.

I want to draw a picture like below. But I don't know where I should start with. Any help will be appreciated.
4
votes
4answers
211 views

Drawing a rectangle

What is the easiest way to draw a rectangle on latex? I just need a simple rectangle for my students to enter the final answer of a question and I am hoping I don't have to learn anything fancy like ...
3
votes
1answer
63 views

How to draw flowchart-Diagram with text?

\documentclass{article} %\usepackage[latin1]{inputenc} \usepackage{tikz} \usetikzlibrary{shapes,arrows} % For flowchart and Diagram %%%< \usepackage{verbatim} ...
2
votes
2answers
119 views

Root locus plots using LaTeX

On my homework, I need to create a root locus plot. Wondering if anyone out there has good suggestions for a package that is able to create root locus plots, or a general plotting package that is ...
308
votes
51answers
81k 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 ...
6
votes
2answers
491 views

PRL style horizontal line in Latex

I want to get the line similar to the one in PRL articles at the end. I don't want to use RevTex but can't figure out a simple way of doing it in Latex. Any help will be appreciated.
3
votes
2answers
73 views

How can you use square brackets in tikz diagram?

I am trying to draw a sequence in TeX with Tikz where the vertices are $[X,Y]$, however I can't seem to get the code to work. Here is the code I am trying to use. \documentclass[12pt]{amsart} ...
2
votes
1answer
53 views

Draw a simple bracket and/or arc diagram

I would like to be able to draw something similar to the attached example. I'm fairly new to latex but have done some straight prose before. It would need to convey the general idea but wouldn't ...
2
votes
5answers
87 views

Rectangle between midpoints of rotated rectangles

I need to draw a rectangle between the midpoints of two rotated rectangles (shown below). How do I do this? My current code is shown below. Current code \draw[thick] (0,0) -- (6,0); ...
0
votes
1answer
53 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} ...
4
votes
1answer
98 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 ...
3
votes
2answers
284 views

Please help me to draw this diagram in LaTeX

Please help me to draw this diagram in LaTeX
3
votes
2answers
64 views

Can I inline drawings in a caption

I am attempting to include a simple drawing in the caption of a figure. The drawing is simply a line which I am using to include a sort of legend in the caption. I have tried to achieve this both by ...
1
vote
1answer
30 views

Split nodes' label between multiple lines in pstricks tree

With pst-node and pst-tree, is it possible to display node's label on multiple lines? With TikZ, it is very easy, you simply put a line break at the appropriate place in the node's label { first line ...
5
votes
4answers
330 views

how to draw a phasor diagram (like this picture)

Hi, I would like to draw this phase diagram as in the attached picture. But some examples I see in the internet are so different (more complex) and when I choose one way to follow I don't know how ...
2
votes
1answer
89 views

LaTeX vertical daily schedule

How can I make the following daily schedule in LaTeX?
9
votes
2answers
2k views

How can I produce this tree diagram in LaTeX?

I want to create the tree diagram shown below in TeX code (with the Level 1... level 3 by the side of the tree diagram). Also, I would like to know how to just put bullet points under a box. For ...
2
votes
1answer
47 views

How can I put the angle more right than I put here? And how can I make a subtitle also?

Is it possible to adjust the angle more than I did: [ABOVE RIGHT] \draw [black, thick] (0.7,0) arc [start angle=0, end angle=110, radius=0.7cm] node [above right] {$\theta=\phi-\ang{90}$}; ...
4
votes
3answers
87 views

Displaying significance level across three columns

I have data from an experiment composed of three treatments, A, B, C. I watn to show in a compact way in a table the result of statistical tests (say, t-test) f A/B, A/C, and B/C. This is an example ...
110
votes
13answers
8k 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 discussion on Christmas Tree with LaTeX I am still willing to try. My Girlfriend's birthday ...
4
votes
2answers
883 views

tkz-graph : inconsistency between edge and loop

I'm discovering the great package tkz-graph and I am experiencing some trouble with the \Loop macro. There seem to be some inconsistencies between the \Loop macro and the \Edge macro. For example, in ...
5
votes
2answers
432 views

Height of sparkline

I'm trying to place a sparkline in a ctable using the sparklines package. \documentclass[11pt]{article} \usepackage{ctable} \usepackage{sparklines} \begin{document} \ctable[ caption = ...
6
votes
2answers
373 views

Automatic scaling of kiviat diagrams

\documentclass[twoside,a4paper,12pt]{article} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \usepackage[upright]{fourier} \usepackage{tkz-kiviat,numprint,fullpage} \usetikzlibrary{arrows} ...
7
votes
2answers
249 views

Brazil Language problem in the TikZ diagram

I have a problem with TikZ diagram, I don't get to make the diagram with babel under the brazil language. I used the code with french and everything is OK! \documentclass[a4paper,12pt, ...
1
vote
4answers
305 views

drawing simple sequence diagram

I need to draw this kind of simple sequency diagram, but I'm not very good with tikz: \begin{figure}[!ht] \begin{center} \begin{tikzpicture}[node distance=2cm,auto,>=stealth'] \node[] ...
6
votes
10answers
683 views

How might I typeset the Fano plane in LaTeX?

I'm sorry if this is a duplicate in any way or is otherwise a lousy question. How might I typeset the Fano plane in LaTeX? In particular, I need a vector graphic of it and I would prefer to use the ...
6
votes
4answers
411 views

Arrows between arrows

Here is a fragment from MacLane's classic book "Categories for the working mathematician": Here is another one that's a bit more complicated: Is there a package that allows to (hopefully easily) ...
1
vote
1answer
85 views

Using Eukleides

Some background; I am a math teacher and am currently teaching Geometry. Now, I want to make documents containg pretty triangles, squares and lines. My question is twofold: What is the best package ...
2
votes
3answers
177 views

xypic: 2cell diagram label position issue

This code \xymatrix{z & y\ltwocell_{f}^{g}{^{\alpha}} & x\ltwocell_{f'}^{g'}{^{\beta}}} =\xymatrix{z & & y\lltwocell_{f\cdot f'}^{g\cdot g'}{^{\alpha\circ\beta}}} produced this ...
2
votes
3answers
461 views

Creating a diagram in LaTeX, possibly with TikZ?

I am interested in drawing some flow style diagram with arrows, as sketched in the picture to represent the flow of recursion. I was hoping someone could point me in the right direction as to how I ...
0
votes
0answers
133 views

Feynmp-auto: why is the diagram not included in the pdf file?

When trying to draw a Feynman diagram using the feynmp-auto package, there simply is no result, the pdf comes out as a blank page. I use TeXstudio and MikTeX, and run the file with pdflatex. I have ...
6
votes
2answers
1k views

Commutative Diagrams

Can anyone help me in giving commands for commutative diagrams in LaTeX ? It doesn't seem to appear properly in the LaTeX guides that I have. A command for a simple triangular diagram with arrows ...
0
votes
0answers
36 views

How to convert a diagram in Latex1 [duplicate]

How can i draw following diagram in Latex? Please help me!
2
votes
1answer
75 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 ...
1
vote
0answers
123 views

Quiver Diagrams in Tex

How can I draw Quiver diagrams (for a specific gauge theory) in Tex like the followings? Diagrams has been taken from the following thesis: A Pedagogical Introduction to the AGT Conjecture Any ...
7
votes
1answer
150 views

Concentric Cylinders with tikz

I am trying to draw two concentric cylinders with tikz to show the change in volume with respect to radius, while the height remains fixed. The left ilustration below is the first drawing, where the ...
1
vote
1answer
63 views

2 meta in pgfplot

I need some help with this diagram: I would like to combine to entries in the “meta=” section. It should contain the {y*100}–value and the Label-value. Is it possible to somehow ad them? In the end ...
2
votes
1answer
67 views

Directed graphs

I have a problem with the alignment of my diagram, i dont know how make the first two directed graphsto be aligned whith the "=" and aligned with the left brace ( "{" ) too. The code i have is the ...
4
votes
2answers
100 views

How does one draw a momentum arrow along a line in feynmf?

When drawing a Feynman diagram, one often wants to label each line and draw the momentum arrows. How can one draw a satisfactory momentum arrow? Take for example electron-muon scattering, where I've ...
2
votes
1answer
77 views

Produce a tree diagram to display football matchup

I am working on a Math Project involving football matches. I hope I can produce a tree diagram like this. Could anyone help me with the basic code? I feel producing this diagram requires tikz, which I ...
3
votes
1answer
125 views

How to draw lettering on tile or ceramic in LaTeX

I know that LaTeX is able to do incredible things. I want to know how to achieve something like this: I need to draw an oval placard such as: But I have not idea how to do it. I'm not asking for ...
2
votes
2answers
129 views

How to create simple Data Diagram?

iv'e been trying to create this diagram in latex, what is the easiest and most flexible way to come up with this diagram using tikz?. Thanks!
3
votes
2answers
215 views

Objects in Commutative Diagram DCpic

I have the diagram of the folllowing form: \begindc \obj(1,1){$A$} \obj(3,1){$B$} \obj(3,3){$C$} \mor(1,1)(3,1) {$f$ }[\atright,\solidarrow] \mor(1,1)(3,3) {$g$ } \mor(3,1)(3,3) {$h$ ...
1
vote
1answer
83 views

Blank or no arrow in a commutative diagram

I learned from this nice post that a commutative diagram with the CD environment can have arrows pointing and their commands: right @>>> left @<<< down @VVV up @AAA ...
1
vote
5answers
393 views

Draw a picture of primes ideal lying over a prime ideal

Let $K$ be a number field and $L$ be a finite extension of $K$. Then, let $\mathfrak{p}$ be a prime in $K$ and $\mathfrak{P}$ be a prime lying over $\mathfrak{p}$. I would like to draw the following ...
2
votes
2answers
1k views

Commutative diagram with parallel arrows in opposite direction

I have a diagram of the following form, written with the package amscd: \begin{align*} \begin{CD} W @>\phi>> X \\ @V{a}V{b}V @V{c}V{d}V \\ Y @>\phi>> Z \\ \end{CD} ...
0
votes
1answer
58 views

Replicating a figure in Latex

I am a beginner in Latex and i need to replicate the following image, but I am having trouble doing it and I don't know what packages I need in order to replicate it properly. I tried the TikZ package ...
3
votes
1answer
134 views

Customised Sequence Diagram

I want to draw this With the light gray shadow (not black) and round corners. Here is what I have Can anyone show me how to change it? Another points, when I have text that is very long, how can I ...
4
votes
1answer
127 views

outline a plotted graph?

To outline a path in white, one usually the draw the path larger and fill it in white, then copies the original path filled in black over it. This is to better separate it from the background. But ...
6
votes
2answers
194 views

Complicated tikz vector diagram (Approximate Miss Distance Produced by Turns)

I like to reproduce the following image from an 1957 aviation report in tikz pgfplots. It is fairly complicated and I'm not sure how to approach it. Nodes and positioning is too much a hassle / ...