{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
1answer
318 views

Circle with a cross inside feynmp

The below code produces essentially what I want but there must be a more elegant way and more automatized way. I want a circle with a cross inside it at a vertex: ...
0
votes
0answers
109 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.
1
vote
2answers
61 views

How do I force a picture to be placed on a page, disregarding margins?

I have a picture that I would like to place on the frontpage of a student paper that I am working on, and it is being pushed on to the next page by LaTeX. I want it to be placed in a specific place, ...
4
votes
2answers
51 views

pict2e doesn't draw filled circles at specified point

When compiling the pict2e code below I don't get the expected output of a red circle with a "white hole" (doughnut shaped figure). Instead it places one of the circles slightly off the specified ...
1
vote
1answer
136 views

Show my results bar chart in latex

I have a results of my research in the form of a bar chart created from excel work sheet. The image of my excel sheet and bar chart is given in the figure below; Please help me with code, I am new to ...
6
votes
0answers
142 views

Challenge: images from Hart-Segerman [closed]

This paper by Vi Hart and Henry Segerman has some interesting hand-drawn images that cry out for a treatment with your favourite TeX-friendly package. I like the concept of throwing up one's hands and ...
3
votes
2answers
116 views

Problem drawing diagram with XY-Pic

How I can draw the following diagram with XY-Pic : Thank you in advance.
-2
votes
1answer
173 views

How create this flowchart? [closed]

I want create this flowchart. Please help me.
3
votes
1answer
65 views

Alignment of pictures and captions inside minipages

I need to display two pictures side by side any make them wider than textwidth. I read a solution to use something like the following and have successfully used it with pdf images: ...
6
votes
1answer
79 views

Unable to change the text of PGF decoration

A follow up to the answer of @TomBombadil on Circular Arrows and Text on Path. I am trying to tweak the text's size and/or color and the compilation gets stuck on: ...
2
votes
1answer
244 views

drawing with TikZ

I am unable to create the images (a) and (b) as shown below The above image is borrowed from http://www.nature.com/nmat/journal/v1/n1/fig_tab/nmat715_F1.html Can someone please guide me in ...
6
votes
1answer
120 views

Rounded boxes, arrow and drawing over several pages in a Resume

This question is linked to this one, and I want to extend the answer given here. To be short, I want to do the same thing but with several rounded boxes drawn on the same arrow. Here is a ...
2
votes
1answer
85 views

Image Orientation

When I import several images into LaTeX, the default is for the images to appear directly below the previous image. How can I display the pictures (even as many as five) side by side on the same row? ...
8
votes
3answers
381 views

Hierarchical statistical diagrams

I would like to create a diagram like the one below in LaTeX (probably with TikZ). This diagram and others can be found on this website. It looks like it was made with LaTeX, but I am not entirely ...
9
votes
3answers
220 views

How to draw a shape on the entire height of a minipage?

My purpose is to create a nice resume with the arrows indicating the timeline of my experiences. The left column contains information that is not relevant here. I have the following code: ...
7
votes
1answer
137 views

Create a lorenz curve

For my first real document, I have to create lorenz curves. Problem is, I'm pretty new to TeX and I have absolutely no clue about how I should go about this. A google search only reveals this has not ...
2
votes
4answers
201 views

How to create a graph of our own in LaTeX

Hi, I want to create the following picture in LaTeX. How can I do this?
6
votes
1answer
262 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 ...
3
votes
1answer
304 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
274 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
75 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} ...
4
votes
0answers
117 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
35 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
63 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):
6
votes
1answer
210 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 ...
1
vote
0answers
60 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
319 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
332 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 ...
4
votes
2answers
381 views

Drawing phase line for differential equations

How can one draw one of this pictures in latex with the simplest way and good looking output?
5
votes
0answers
89 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
206 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
239 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 ...
11
votes
4answers
512 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
363 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
45 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 = ...
2
votes
1answer
204 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
436 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 ...
17
votes
4answers
767 views

Plot to illustrate secant lines

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
1k 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
242 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
275 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
199 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
284 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
57 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
124 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
380 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
443 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
71 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
74 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
279 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 ...