{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
63 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
23 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
153 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
93 views

How can I draw commutative diagrams in LaTeX?

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
70 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
283 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
703 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
184 views

Looking for a timetable diagram

How can I archieve a diagram like below?
2
votes
1answer
56 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 ...
5
votes
1answer
117 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 ...
2
votes
0answers
64 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
1answer
44 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
99 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
172 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
73 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
72 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 ...
1
vote
0answers
31 views

feynmf vs. feynmp: What's the difference?

What is the difference between feynmf and feynmp? By very basic understanding is that the former somehow makes use of raster graphics whereas the latter makes use of MetaPost. Moreover, I have read ...
6
votes
10answers
721 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 ...
0
votes
1answer
70 views

Tikz Diagram: Block Diagram [duplicate]

I'm looking to create the following block diagram in Tikz. Any suggestions? Tips?
0
votes
1answer
95 views

Looking to draw this block diagram in Tikz

I'm looking to create something like this in Tikz environment. Any tips? help?
5
votes
3answers
75 views

tikz-cd drawing arrow to another arrow

I am trying to reproduce this image http://www.ats.ucla.edu/stat/stata/faq/model5s.png from this page http://www.ats.ucla.edu/stat/stata/faq/modmed.htm using tikz-cd. I have the following code and ...
2
votes
2answers
61 views

Are there LaTeX packages for working with Toulmin diagrams?

The Toulmin model of argumentation allows you to present the logical structure of a statement in a visual form. Are there LaTeX packages, which allow to work with such diagrams?
0
votes
1answer
69 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
218 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
93 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
147 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 ...
310
votes
51answers
82k 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
508 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.
4
votes
2answers
84 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
60 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
97 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
67 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} ...
3
votes
2answers
298 views

Please help me to draw this diagram in LaTeX

Please help me to draw this diagram in LaTeX
3
votes
2answers
68 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
47 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
366 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
114 views

LaTeX vertical daily schedule

How can I make the following daily schedule in LaTeX?
9
votes
2answers
3k 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
51 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
91 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
9k 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
901 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
441 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
377 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
256 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
332 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
4answers
423 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
91 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
184 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 ...