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

3
votes
1answer
97 views

Center TikZ node relative to path

I made this diagram in latex, but I can not center the item 'j', corresponding to line 38. Could anyone help me?The diagram of the script is listed below. I tried to use midway on the 38 line, but he ...
5
votes
1answer
133 views

Smart Art diagram

I want to update the Smart Art diagram down below: to the following one: . My source code for the first one is: \documentclass[12pt,a4paper,landscape]{article} \usepackage{tikz} ...
1
vote
0answers
43 views

Wrong pdf output size

I'm trying to create an image (.pdf) that should be filled with black and white thick lines. The code I'm using is working pretty good except for the fact that the matrix output size is not correct ...
5
votes
3answers
195 views

Creating a simple table diagram with arrow annotation

Many investent fund factsheets have a simple risk diagram as below, along with the annotation: How would one recreate this in TeX? I though of using a table but perhaps some sort of tikz picture ...
5
votes
2answers
127 views

Place TikZ picture over top of text

I'm designing some letterhead using LuaLaTeX (interchangeable with XeLaTeX at this point) where I want my signature and name to be drawn like this: The signature is a TikZ drawing, the text is ...
3
votes
1answer
60 views

Drawing a B/W grating

I'm trying to create a .tif or .jpg image that will be used in full screen mode. The image should be filled with black and white thick lines. I need to set a width variable so I can create different ...
0
votes
1answer
34 views

How to use DIA? [duplicate]

I'm new at Latex, and I'm trying to make a photo diagram. And i have found the program "Dia" and wants to know how it works, i have tried to read the Manuel, but I'm not entirely sure of how it ...
5
votes
4answers
482 views

How to draw infinite earring with TikZ?

I want to draw an infinite earring, i.e., each circle centerd at $(\frac{1}{n},0)$ with radius $\frac{1}{n}$ for each $n\in \mathbf{N}$. The figure will be the following: I have used the ...
-1
votes
3answers
334 views

I am trying to draw this picture with latex

I have recently presented statistics of breast cancer and made a powerpoint image: Please notice that the icons are not exactly the same (I was lucky enough to find similar icons with different ...
34
votes
9answers
3k views

Drawing the dragon curve

I'd like to draw the dragon curve (or paper-folding curve) in a programmatic way. For example, create a sequence representing the curves, and then parse the sequence to draw the curve. The sequence ...
3
votes
3answers
501 views

Drawing the map of Guinea, Liberia and Sierra Leone together

I would like to ask if some could help me draw the maps of a portion of West Africa i.e. Guinea, Liberia and Sierra Leone using LaTeX? Thank you.
1
vote
0answers
36 views

How to label an arrow in a commutative diagram [on hold]

I'm writing my thesis using LaTeX. I need to add a commutative diagram with labels on arrows. Let me say that I'm writing my text in Italian using the babel package. Here a minimal example to ...
1
vote
0answers
86 views

Drawing a TiKz Diagram within a Table [closed]

Any ideas on how to draw a TiKz diagram within a table? I made this example of what I need to typeset in Word: I'd love to hear any suggestions, even if it requires reformatting.
5
votes
1answer
242 views

Draw (very basic) network topology using tikz

I'm trying to draw some very basic Network topologies and thought that I'd try using Tikz for it. So I thought that I'd make a start and then ask for help, as I've got to do 5 of these and there's ...
1
vote
1answer
68 views

Indexation Lag for LateX

Good morning! because I am using Latex the first time maybe one could help me in with this picture :) It would be great!! Thank you so much :)
7
votes
1answer
143 views

Drawing a diagram with long arrow

I have drawn this diagram. But I don't know how to make the arrow between d and e more long, so the diagram become more well-arranged. \documentclass{article} \usepackage{tikz-cd} \begin{document} ...
1
vote
1answer
64 views

An example about diagrams and graphs with Tikz on manual V2.10 Page 70 fails [closed]

My question is that I cannot compile the codes provided on page 70 in the TikZ Manual V2.10. I just add some packages but it cannot compile. Can anybody help? My codes are shown as below: ...
4
votes
1answer
63 views

saving output as .eps

How to save output of LaTeX file as .eps file rather than .pdf? I want to put a figure in LateX file and enter some text in it. Then I want to save output as .eps format rather than in form of .pdf. ...
4
votes
1answer
31 views

xypic bending arrows whith non-default shafts

I have troubles trying to bend double arrows in XYpic. Here is my code at the moment: \documentclass{article} \usepackage[all]{xy} \begin{document} \[ \xymatrix{ \ar@2 `r[r] [dr] & \\ & & ...
1
vote
0answers
33 views

Tool to draw diagram [duplicate]

Please, I am writing a scientific paper and I use latex. I have some figures to draw and insert it into the paper. I would like to benefit from your experience. What tool I can use to draw my figures ...
0
votes
0answers
43 views

How to include the tikz, multicol styles in central European Journal class?

I want to include some diagrams using the styles tikz and multicol in central European Journal class. But the class not supporting these styles. How to resolve it. Here the class file available ...
5
votes
1answer
85 views

How to fix naive solution for elements grouping?

I'm trying to create elements grouping .pic: have children of unknown layout (doesn't even has to be node structure, it could even be plot, or tree ) act like a node - anchor it as one element, ...
1
vote
0answers
48 views

How to define node blocks as composition from inside out?

I've found a Q/A about how to create group nodes to blocks. It works, but exact opposite way as I needed. It defines internals and then draws blocks around them. I need to define block with ...
0
votes
2answers
127 views

How many LaTeX characters have Unicode equivalents, and which characters and mathematical character combinations cannot be represented by Unicode?

I would like to know how many LaTeX characters, including all the special math symbols, can be represented by Unicode. Would I be right to say, that nowadyas, LaTeX's strangths over Unicode are mainly ...
-1
votes
0answers
45 views

Create electric field line diagram for latex figure

I am attempting to create a figure to demonstrate the method of image charges between a charged sphere and grounded metal plate. How do I create a diagram of this with realistic field lines?
2
votes
1answer
55 views

How to create tikz `\node` command and retain access to it's properties from outside?

I'm trying to create latex command for specific node layout in tikz: \begin{tikzpicture} \node (anode) [lestyle, rectangle split, rectangle split parts=2] { \textbf{node A} ...
6
votes
1answer
71 views

Plotting graphs from csv with pgfplots?

I am trying to plot a graph using pgfplots in which the data is read from a CSV file. My points show up fine, but when I try to add a regression line, it appears as a vertical line at x=0. Can anyone ...
2
votes
2answers
88 views

draw a dual time representation diagram

Does anybody know how to draw a dual time representation in a professional way? Any suggestions for how to do it with LaTeX or other software? Thanks in advance.
1
vote
0answers
33 views

Floating Figure inside Environment

I have a problem while trying to use wrapfigure or floatftl in a typical Definition environment. More concretely, I try something like this: \begin{floatingfigure}[r]{5cm} ...
6
votes
1answer
82 views

Flowchart-decision shape - enforce aspect of pgf diamond shape

I am using TikZ/PGF to build a flowchart. To construct the shapes I need, I used the flowchart package plus the ones given in this excellent answer. I modified the decision shape to have the aspect ...
0
votes
3answers
197 views

Draw a picture in LaTeX

Please help me to draw the following picture in LaTeX: Thank you for all kind
3
votes
4answers
184 views

How to draw this picture in TikZ?

I need to draw a picture, the picture is showed below. Which package is better to draw it,TikZ?
9
votes
3answers
616 views

How to create a modern-looking circular score counter using tikz?

How can I create a "score counter" like the one in the picture, so that I can set a maximum for any circle and add as much concentric circles (counters regarding the same thing) as I want? The ...
1
vote
0answers
56 views

Picture format eps for LaTeX

I would like to create pictures in (.eps) format in order to use it with LaTeX, but I do not know which software can be used to create picture in (.eps) format.
10
votes
3answers
446 views

TIKZ mathematical diagram: arrows should have a common source

The following code \documentclass[10pt]{amsart} \usepackage{tikz} \usetikzlibrary{shadows,matrix,arrows} \begin{document} \begin{tikzpicture}\small\begin{scope}[->,shorten >=3pt,shorten ...
11
votes
3answers
339 views

Asymptote: draw surface from data points in 3D

In the figure below, you can see 25 curves. Each of these curves was plotted from a list of points in a file mypoints_i.dat. Each of these files contains the exact same number of points. How would ...
0
votes
0answers
26 views

Diagram of a variation of the middle third Cantor set [duplicate]

I would like to construct a diagram which is a variation of the middle third Cantor set as described by: Suppose we start off with the unit interval $[0,1]$; let us call it $A_0$. Next, remove the ...
2
votes
2answers
162 views

How to plot this beautiful figure

I have to plot a figure in my paper, but I find problems in doing it (see below), can you give me some tips? Some code (either LaTeX or Matlab) will be helpful.
1
vote
0answers
85 views

Fading along a plot line in tikz

I'm using the following to draw the electron wavefunction around an atom. I'd like to fade out the line towards it's end. I've read all the relevant questions I can find, Any ideas? ...
5
votes
2answers
209 views

Making a diagram like this in TeX?

I want to make two diagrams, along these lines: I'm having trouble finding a way to do it most simply, I've been able to do it with bubbles which I then don't draw the borders of, but that leaves a ...
21
votes
8answers
889 views

Knowledge indicators

I'm writing my CV with LaTeX and I would like to add knowledge indicators next to my skills. I'm looking for a package that can display a "vertical stack". Something like: German ≡ English = Chinese ...
2
votes
3answers
64 views

Is it possible to produce a comparison network

Is it possible to produce a comparison network, similar to the one shown in the diagram here: I've looked at using \rule's, but I can't get them to produce lines in my code. Also how can I add a ...
2
votes
2answers
51 views

Arranging the arrows in align environment without using tikz-cd

I have previously asked this question. To be self explanatory I would like to state it here once again: I have the following code and I dont know how to align the two horizontal \Longleftrightarrows ...
0
votes
0answers
71 views

Plot convolution neural network architecture

I've seen two common ways to represent convolutional neural network architectures: The one used in the imagenet paper(figure2), and the original one. I would like to build my own using PGF/TikZ. Do ...
4
votes
3answers
228 views

A longer arrow in a diagram

I created the following diagram: \begin{equation} \begin{array}{ccc} && A \\ &\rotatebox{45}{$\longrightarrow$}& \rotatebox{90}{$\subseteq$}\\ B&\subset& C \end{array} ...
9
votes
5answers
400 views

Point of tangency and tangent line to a circle

The following question is based on an assignment I wrote for my students to determine the point of tangency of a circle with center origin and radius r. I have managed to get the diagram I wanted ...
2
votes
1answer
61 views

How can I insert multiple pictures in a beamer foil?

I want to implement the slide shown below in beamer .Please let me know how I should go about this.
8
votes
8answers
690 views

Drawing minimal xy axis

can anybody help me to draw this minimal example of an xy axis? I couldn't find anything similar on the forum. The axis should be black but the grid behind it a shade o gray, dashed. It would be ...
3
votes
1answer
59 views

Structogram too long

I'm usingstruktex to design some long structograms. Does anyone know how to have a long structogram be separated onto the next page? I guess the easy fix would be to "cut it" where I see it ...
2
votes
1answer
50 views

Superposition with Structograms

I am using struktex to design some structograms (NSD), and I want to have a file with two of them in a row, and eventually copy and paste either into my larger file. I wrote the first (here shown ...