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

1
vote
1answer
50 views

include figure, auto-fit image and add caption at same time

I have to include some images to illustrate a problem. So I used the following code to auto-scale them to text-witdh, which works amazing. But how can I add some caption? (I have to label and number ...
4
votes
3answers
215 views

Creating Flow Chart with Bezier Curves

How would I use TikZ to make this diagram? I would like to use bezier curves instead of straight lines, too. thanks
21
votes
3answers
1k views

A circular table? (where the rows form concentric circles)

I would need to make a table where the rows consist of concentric circles. That is, row 1 is forms the innermost circle; row 2 the second circle; row 3 the third circle and so on. The columns would ...
3
votes
1answer
210 views

How can I easily draw gene regulation pathways in Latex?

It is very common in biology to draw diagrams like the one below to show regulatory interactions between genes: You can see that this is essentially a graph, with 3 key elements: Nodes, which can ...
4
votes
1answer
281 views

Transition in Petri Net

I am newbie in Tikz, After reading this question Transitions in Petri nets I want to create this And this is my code, you can access with this link https://www.writelatex.com/read/bxwwcmmghpmw ...
6
votes
1answer
182 views

Sankey Diagram not rendering proper

I've found this website very useful for the past few months without ever needing to post a question but alas the time has come where I actually need to make a post, hopefully someone might be able to ...
3
votes
1answer
47 views

How to avoid misled inverse search caused by the picture-environment?

Below MWE shows four paragraphs of text and two vertical lines on top as shown on the left side of the following picture: By using inverse search in the PDF viewer, that is, by clicking on any text ...
-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
89 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?
8
votes
2answers
181 views

vertical equality in

How does one get inline or at least formula space typography of the following sort in an easy to parse (for the editor) way when writing formulas, for instance: Yes, I know, the equalities ... can ...
0
votes
0answers
114 views

What package(s) are recommended for making algorithm block diagrams in LaTeX?

I am in the process of writing a conference paper for IEEE, and I was wondering what packages might be recommended for making good looking (but simple) block diagrams for algorithms? I am relatively ...
3
votes
1answer
138 views

Visualize array changes with arrows

I want to visualize a sorting algorithm by highlighting the changes made in each step. E. g.: [ a_1 a_2 a_3 a_4 ] X [ a_1 a_2 a_4 a_3 ] X [ a_1 a_4 a_2 a_3 ] and so on. ...
1
vote
1answer
143 views

Wonky diagrams in tikz

I'm trying to make a commutative diagram (without the package tikz-cd) with nodes of different sizes. I'm skipping nodes like this & & A & & \\ & B & & C ...
11
votes
3answers
281 views

Circling a collection objects in xymatrix

I have the following code that produces a bicomplex: \begin{displaymath} \xymatrix{ 0 \ar[r] & \Omega^0_X \ar[d] \ar[r] & \Omega_X^1 \ar[r] \ar[d] & \ldots \ar[r] & \Omega_X^n \ar[d] ...
1
vote
1answer
158 views

In IEEE conference latex file, my pictures and tables are merged/overlapped with text

In IEEE conference latex file, my pictures are merged/overlapped with text. I have attached the screen shot of the file. Is it possible to make the picture merge two columns. Please help me with ...
0
votes
0answers
25 views

In IEEE conference latex file, my pictures are merged/overlapped with text. [duplicate]

In IEEE conference latex file, my pictures are merged/overlapped with text. I dont know how to attach the screen shot of the file. Please help me with this. My last date to submit is the day after ...
36
votes
2answers
1k views

How can I draw nomograms in LaTeX?

What is a nomogram “A nomogram, also called a nomograph, alignment chart or abaque, is a graphical calculating device, a two-dimensional diagram designed to allow the approximate graphical ...
3
votes
2answers
514 views

How to make the dot in the mid of square?

\begin{tikzpicture} \coordinate (1) at (0,0); \coordinate (2) at (2,0); \coordinate (3) at (2,2); \coordinate (4) at (0,2); \coordinate (5) at (0,0); \coordinate (6) at ($(1)!.5!(2)$); \coordinate ...
0
votes
1answer
92 views

Node numbering problem?

\begin{tikzpicture} \coordinate (1) at (0,0); \coordinate (2) at (1,0); \coordinate (3) at (0.5,1); \coordinate (4) at (0,0); \coordinate (5) at ($(1)!.5!(2)$); \coordinate (6) at ($(2)!.5!(3)$); ...
31
votes
6answers
2k views

How to make the length of a car moving on a roller coaster track remain unchanged?

For any arbitrary parametric smooth curve, how can I make the length of a car remain unchanged? \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-plot,pst-node} \pstVerb { ...
5
votes
1answer
339 views

Want to make the following shape function in TikZ? [closed]

Want to make the following shapes function in TikZ \begin{tikzpicture} \tikzstyle{every node}=[draw,shape=circle]; \draw (0,0) -- (0,1) node {1}; \draw (0,1) -- (1,1) node {2}; \draw (1,1) ...
0
votes
0answers
58 views

Need some material about TikZ? [duplicate]

I am interested to work on "TikZ" so I need some material for read and also for practice. If anyone have then share with me.
2
votes
1answer
343 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
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.
1
vote
2answers
63 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
52 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
141 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
143 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
125 views

Problem drawing diagram with XY-Pic

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

How create this flowchart? [closed]

I want create this flowchart. Please help me.
3
votes
1answer
68 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
82 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
246 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
128 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
88 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
389 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
223 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
139 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
203 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
270 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
322 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
288 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
76 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} ...
5
votes
0answers
130 views

LaTeX package for typesetting computer science diagrams i.e. linked list [on hold]

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
38 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
64 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
268 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
334 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
369 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 ...