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

6
votes
1answer
68 views

Feynman diagrams with feynmf/feynmp - edges of diagram cropped off?

I am trying to create Feynman diagrams with LaTeX/MetaPost and feynmp seems like the perfect package to do so. I had no problems with the tutorial and can generate the diagram itself in .eps without ...
2
votes
1answer
80 views

Draw a ERD in Crow's foot

I am draw my entity relationship diagram in a UML tool, I am new to TeX writing and now want to draw it in latex. The image of my ERD is given below; Please help me with code and tell me which ...
7
votes
1answer
135 views

Complex dynamically sized tikz diagram

I trying to figure out a way to create diagrams in tikz with a x elements on the left (inputs) and y elements on the right (outputs). The inputs/outputs will be represented by different types of ...
3
votes
1answer
35 views

Using jPicEdt for graphic?

I'm using the jPicEdt to make the diagram and also generate the LaTeX code. I'm trying to increase the size of diagram? \documentclass[12pt]{article} \usepackage{eso-pic} \usepackage{graphicx} ...
3
votes
0answers
34 views

LaTeX package for typesetting computer science diagrams i.e. linked list

Could you suggest a package designed specifically to typeset different types of diagrams in computer science, such as linked lists, stacks, queues ? What i'm looking for is something similar to the ...
1
vote
1answer
17 views

Error: LaTeX Xy-pic error: <turn> cannot be half or full… What does it mean?

I'm attempting to use xy to make an arrow bend a specific way. When I try it, this error pops up: LaTeX Xy-pic error: < turn > cannot be half or full. What does this mean? For more context, ...
2
votes
0answers
51 views

Can anyone identify what package was used to create these simple math diagrams [closed]

Put simply: does anyone know what package is used to create the following diagrams from Stephen Boyd's book on Convex Optimization (p.24):
5
votes
1answer
108 views

Mathematical formulas on a graph (not made by TeX) [duplicate]

Let us assume that we have a graph created by a program different from LaTeX (that is not with PStricks or Tikz). I was wandering if it is possible to incorporate mathematical symbols on that graph ...
0
votes
0answers
66 views

Draw Block Diagram and Flow Chart Diagram [closed]

I am new to tex writing and not experiencing with drawing different diagrams. Tell me please that which packages I must use and how I can execute my code. Help me also with links, in which basic of ...
1
vote
0answers
53 views

how to use latex draw graphs, just like this? [duplicate]

Recently, I am using LaTex to draw graphs. However, I don't know how to do it. My graphs just like: How can I do it?
2
votes
2answers
106 views

Draw block diagram with a switch

I'm trying to draw a simple block diagram that looks like this: schemabloc seems to be the package to use, but then again, it doesn't have the switch symbol that I need. circuitikz doesn't seem to ...
3
votes
1answer
37 views

flow chart page size issue

I have been doing this since from last month. I want to draw this flow chart using \documentclass[a4paper,11pt]{report} but if I use above configuration (which I want to use) the flow chart does ...
5
votes
0answers
49 views

Package for drawing cell decompositions/cell complexes/triangulations

Is there a package that helps to draw abstract gluings such as those used for cell complexes/triangulations in topology? (Tetrahedral triangulation of a sphere) (Torus)
5
votes
1answer
106 views

Still some of the flows missing in the flowchart

I have posted this question few days back but still I can't complete the algortihm. This is the uncompleted work done so far \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} ...
6
votes
1answer
192 views

Big vertices on my cube kill parallelism

I have coded the following diagram in xypic: \xymatrix{ & B \ar[rr] \ar'[d][dd]^(.45)\simeq && B\cup_A C \ar@{.>}[dd]^-\simeq \\ A \ar@{>->}[ru] \ar[rr] \ar[dd]_-\simeq ...
10
votes
4answers
260 views

Plot the cusp catastrophe surface

I'm trying to draw (plot) the Cusp catastrophe surface into latex using any software logic. I am completely stuck because I'm definitely not a mathematician. The surface has the potential: V(x) = ...
7
votes
3answers
167 views

drawing points coordinates in a graph

I need to draw points coordinates in a graph. In my case, the problem is that the values of the x-axis and y-axis of each point can be very large. That is why I need to edit the code below in order to ...
0
votes
0answers
41 views

Problem: Sidewaysfigure automatically start a new page [duplicate]

Basically, I have a blank page, I inserted the subsection title and underneath I want to add a sideways figure. \subsection{Findings} \begin{sidewaysfigure} \centering \includegraphics[scale = ...
1
vote
1answer
105 views

Tikz diagram: subnodes

I am trying to draw this diagram using tikz, but I am just a begginer and cant find out how to draw small nodes in those bigger. Anybody experienced in this? Text in image are not important, only ...
3
votes
1answer
125 views

How to use latex commands to draw a flowchart

I have to write a flow chart given by figure below I have used the packages, \usepackage{tikz} \usetikzlibrary{shapes,arrows} But I couldn't get what I want. I hope some LaTeX experts here can ...
5
votes
4answers
312 views

Plot to illustrate linear regression

I am trying for teaching purpose to explain how basically linear regression might work and how it could be extended. Since I am not the TeXpert I fear that my idea might be tricky and more difficult ...
4
votes
4answers
961 views

How can I draw a chessboard missing two diagonally opposite corner squares?

How can I draw of a mutilated chessboard, i.e. missing two diagonally opposed corner squares? Using the chessboard package, I can only draw a full chessboard...
6
votes
1answer
90 views

Tikz diagram: nodes with arrows

I am trying to draw this diagram using tikz, but I am only beginner and have some problems mainly with drawing arrows in this way. I also want nodes with round corners. Anybody can help me?
6
votes
3answers
179 views

Matrix decomposition dimensions diagram

What's the easiest way of making diagrams depicting matrix dimensions such as the following? I can do it with simple subscripts, but I like the visual effect that these diagrams give.
2
votes
1answer
76 views

How do I make an unbalanced binary tree that branches off to the right?

An image of what I want: For those who are interested: This particular figure is taken from this article (I couldn't find a freely available version) and shows k-buckets (the squares) covering an ...
4
votes
6answers
180 views

Drawing ellipses with pict2e or the like

\usepackage{pict2e} \usepackage{pstricks-add} \usepackage{pst-node,pst-plot} \psset{plotpoints=9,unit=3} Somehow, acting on various people's advice, I've put the above lines of code above my ...
0
votes
0answers
38 views

Reconstructing this website's banner / heading?

I'd sometimes like to generate some desktop wallpapers; in particular, I'd like a design like this website's banner (bg-graph-top.png): Grayish vibe Bit of mathish 2D lines/surfaces Some fleuron art ...
3
votes
2answers
114 views

Strings and Harps to be drawn

I'd like to draw a picture similar to the hand-drawn one below: With labels $0$, $1$, $\Psi_{L,S}$, $a_1$, $\ell_i + 2\varepsilon$, $\Psi_{L,H}$, $b_1$, $-\varepsilon$, $1 + \varepsilon$, ...
2
votes
1answer
108 views

Control System diagram

I found an example of a control system with TikZ in http://www.texample.net/tikz/examples/control-system-principles/ . I wanted to adapt this example by removing the measurements node and keeping only ...
8
votes
2answers
289 views

Venn diagrams for fuzzy logic

I've seen a lot of code samples for producing Venn diagrams. I'm looking for a way to draw similar but different diagrams related to fuzzy logic (see the second row in the screenshot below). How could ...
0
votes
2answers
50 views

Missing elements in picture

\begin{figure}[h!] \centering \setlength{\unitlength}{0.1\textwidth} \begin{picture}(5,5) \put(4.17,3.5){$x$} \includegraphics[height=0.4\textwidth]{rys} \end{picture} \end{figure} ...
1
vote
3answers
58 views

How to do group of this equations?

Here (P1) denotes problem 1 and (P2) denotes problem 2. (D1) and (D2) denotes their relaxations. I want to pose the question whether the relaxations may or may not be equal. I am familiar with writing ...
6
votes
2answers
187 views

Line shown behind filled rectangle made with TikZ

I need to create a TikZ style that is a filled rectangle with a line crossing it. The problem I'm facing now is that when the rectangle is filled with a color, then the line is drawn behind the ...
3
votes
2answers
153 views

Hexagon composed of equilateral triangles

Here's a nifty question! I would like to create a similar diagram to the one below, but I do not have the slightest clue how. Latex is all very new to me but I have managed to use Tikz to scribe ...
3
votes
0answers
113 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?
5
votes
2answers
104 views

Tikz: How to display properly some linked nodes?

I have created the following diagram using Tikz, is there anyway to show it properly? (As it is, it is shown with all the nodes below the last one, so it is a mess) \documentclass{article} ...
1
vote
0answers
85 views

Drawing back to back stem and leaf diagrams? [closed]

I have drawn a back to back steam and leaf diagram but it looks messy. Is there a code I can use which would make it look professional?
6
votes
3answers
516 views

Draw a trapeze in left corner of the page

I want to do draw a trapeze in position in the left corner of the page (as shown on the picture below). How can I do that?
1
vote
2answers
104 views

tikz-cd package on MacTex

I just updated by TeXShop using TeX Live utility yesterday, but I still get this error. All I am doing is the standard routine \[\begin{tikzcd} 0 \arrow[hookrightarrow]{r} & ...
3
votes
1answer
87 views

visualize parallel operations

I have a small dataset of operations which I want to display. The operations each have a name, a start time and an end time (in milliseconds). For example: Operation 1: 0 to 3000 Operation ...
4
votes
3answers
149 views

specific Box Diagram with multiple arrows

I never did a box diagram before. I tried to build this diagram, but couldn't find a solution for these kind of arrows: Could someone tell me, how to perform this? Thank you in advance. \tikzset{ ...
1
vote
0answers
24 views

media9 and remote web image

Hi guys I need to put a remote image on a pdf. Such that if the remote picture changes then also the pdf when opened changes its content. I am trying to use media9 package but I am getting nowhere. ...
8
votes
2answers
122 views

Creating figures to show binary values

I'm working on a paper that deals heavily with floating point values, and I need to make figures to represent 32 bit binary values. The code below is what I came up with, and visually it is basically ...
2
votes
2answers
121 views

addplot3 [area plot] filling the wrong area

using some saved data, i use (The data file cane be download from pX.txt where the first column is the x and at each iteration, I plot the other columns with respect to the first column) ...
1
vote
0answers
25 views

Lines in epsfig have corners

I have a problem with epsfig. I want to draw some graphs. I created the picture with xfig and got the following code: \setlength{\unitlength}{4144sp}% % ...
4
votes
2answers
132 views

need inclusion arrow in commutative diagram

\documentclass[convert = false, tikz]{standalone} \usepackage{float} \begin{document} \begin{tikzpicture}[every node/.style={midway}] \matrix[column sep={4em,between origins}, row sep={2em}] at ...
2
votes
4answers
424 views

How to plot a bar graph of decaying values?

How would I draw a picture like this in tex? I'm not sure of the scaling ratio. I believe it can be arbitrary. i.e. As long as the length of $\ell_j$ is less than $\ell_i$, $\forall \, j>i$ ...
17
votes
7answers
2k views

Can anyone draw a chiasma in LaTeX?

I am trying to draw a two curved lines that form a chiasmata. I am imagining it would look like an 'X' that is composed of two CURVED lines such that it is wider than it is tall. I also want to ...
6
votes
1answer
141 views

drawing back propagation neural network

I would like to get this network eventually but so far after referring to this Diagram of an artificial neural network I still can't seem to back the feedback arrow. Help please Here is my attempts ...
5
votes
1answer
265 views

Background Picture

I am creating a presentation using the Beamer document class. I was wondering if it would be possible to have the same picture appear as a background of each slide. This is the image I am referring ...