{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
2answers
164 views

Simple Ramp Diagram with Ball

How would I make the following diagram and label the values? I would prefer it if instead of a box, there were a ball rolling down the ramp and the horizontal ground displacement were labeled as well. ...
1
vote
0answers
89 views

Generating latex diagram from merise method

I am creating a MCD using Merise2 method. (see on image what a MCD look-like). There are tools that convert MCD into SQLfiles . I would like to know if there is a tool that convert MCD to latex ...
0
votes
1answer
107 views

How to draw a picture like this in Latex?

How to draw a daigram like this with colours. With label for time points as well as for the interval with limiting arrows. And with things in box like the ones on green. TIA
-1
votes
2answers
129 views

How can I reproduce this tree diagram?

I want to reproduce the tree diagram shown below. My major problem is how to put text (Yes/No/Exposure...) next to the lines.
2
votes
3answers
206 views

How to draw this diagram in Tex

I am trying to draw the attached diagram in Tex (the attached is from Microsoft Word). Happy to make some tweaks, but it needs to look something like this. Thank you very much! edit: could you give ...
2
votes
0answers
29 views

How to take out the File Path above my image [duplicate]

I've tried all the links nothing works. I'm using a mac. Packages I'm using are: \usepackage{graphicx} \usepackage{caption} Keeps coming out with the stupid Board.png on top how do I delete? \...
5
votes
2answers
896 views

How to draw a diagram like the one in this picture?

Is such a diagram called classification diagram? Is there any package in LaTeX which helps in drawing it directly like parent child diagrams?
2
votes
2answers
148 views

Area diagrams in Tikz

Introduction: I'm currently doing some research in the field of continuum percolation, and I need to create relevant diagrams according to the following specifications: The diagram consists of ...
2
votes
1answer
54 views

Tikzpicture: Strechting a specified interval (axis) of a diagram

In a collaboration I managed to create the following diagram. The last modification I need is ti emphazise that point B is located right to A (regarding the x-axis). Therefore I want to stretch the x-...
2
votes
1answer
45 views

Tikzpicture changing axis label at a point

I have a graph like this: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1.0cm,y=1.0cm] \draw[->,color=black] (0.,...
3
votes
1answer
64 views

Creating multiline labels in xy-pics, xy-matrix or similar

I would like to make a diagram that shows the order in which i used some models. I normally make diagrams with xy-matrix, but some of the model names would look clumsy if kept on a single line, so I'd ...
3
votes
1answer
95 views

Bar diagram strange behaviour

My code is: \documentclass[border=10pt]{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[title = some title, xbar, y axis line style = { opacity = 0 }, ...
5
votes
1answer
173 views

Tikzpicture: Add slope angles to straight line

I am trying to add some angles between the x-axis and the red and blue line which indicate their slope. \documentclass[15pt,a4paper,headinclude, totoc]{scrartcl} \usepackage[usenames,dvipsnames]{...
-1
votes
2answers
139 views

How can i draw this figure and table?

Does anybody know how I can DRAW This figures in my WinEdt 9.0 ?? Thank you very much dear my friends. Best "Saeed"
3
votes
2answers
158 views

How to draw over minipage in tikz?

I've got a code snippet, that I'd like to annotate with arrows, boxes, and bubbles pointing to the various parts of the code. Right now, I've got the code in a minted environment, inside a minipage, ...
3
votes
3answers
194 views

Multilevel hierachical tree/taxonomy with linebreaks and “empty items” in Tikz

I would like to include graphics like the following in my document. Since this is just one example and there will be different models, I can't just include it, but will rather need to be able to build ...
-1
votes
1answer
130 views

draw picture using LaTeX

I try to draw the following picture using LaTeX.
1
vote
2answers
128 views

How to draw vector/matrix diagram [image attached]

How can I draw the following which depicts certain vector and matrix operations. Update: I modified @rpapa 's solution a bit and to get the following. \documentclass{standalone} \usepackage{tikz} \...
7
votes
5answers
728 views

Drawing a diagram of a three-cycle

How to draw this kind of circle on LaTeX?
10
votes
5answers
790 views

How to color randomly drawn dots within a circle?

I'd like to create the following plot (illustrating a population and a random sample) with tikz where the dots are created/placed randomly; all dots inside the circle, however, are supposed to be ...
2
votes
2answers
98 views

How can I bound a block of text with a pair of vertical lines using TikZ?

MWE: \begin{center} \begin{tikzpicture}[draw=DarkBlue,line width=1.0pt,inner sep=12pt,inner ysep=6pt] \node at (0,0) [rectangle,draw,fill=LightBlue]{ % \begin{minipage}[t]{118mm} % A wide block of ...
0
votes
1answer
72 views

Reproducing a picture (fuel assembly) using Tikz

I am trying to write the code to draw the picture below in TikZ. My code is necessarily long with lots of \foreach loops. Could you please give guidance on how to reproduce this picture in TikZ.
0
votes
2answers
148 views

picture using LaTeX

I try to draw the following picture using LaTeX.
0
votes
0answers
20 views

Centering a diagram! [duplicate]

My diagrams tend to much on the right side of the page, although I used \centering. Can someone tell me how to center it?
3
votes
2answers
166 views

How to make the arrows meet at same place?

I found a model diagram online and I modified it, so now the code is: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{shapes.geometric, ...
1
vote
0answers
70 views

Drawing callouts on top of text?

I'm putting together a presentation. My presentation style, however, often involves bright red callouts to the most important points of the text, especially when said text consists of code samples or ...
3
votes
1answer
122 views

Aligning node with respect to two other nodes in tikz block diagram

I use left of and below of arguments to horizontally and vertically align blocks/nodes in Tikz. How do I align a node/block both vertically and horizontally with respect to two already defined blocks/...
0
votes
3answers
229 views

How to draw 75-60-45 triangle?

I am preparing thesis about Euler Lines and Schiffler Point; at the end of thesis I need to give example and I chose 75-60-45 triangle. First I need to draw triangle and I must put incentre(I)and draw ...
2
votes
7answers
513 views

How to graph piece wise function. f(x)={-x for -l<x≤0 & 0 otherwise}

f(x)={-x for -l<x≤0 & 0 otherwise} How to graph the above equation. pls help. also explain
6
votes
1answer
102 views

How can I define a key that adds a coloured border inside a closed path, but plays nice with \fill?

I want to draw polygons that have a fixed width shading or border on the inside. Here is an image made in mspaint illustrating the kind of thing I'd like to draw: This question addresses this issue,...
2
votes
4answers
103 views

How to fit x-axis and y-axis to show a domain?

I try to draw this spiral by Matlab t=[0:0.001:4*pi]; x=(1/2)*(exp(exp(-t))+exp(exp(-t-2*pi))).*cos(t); y=(1/2)*(exp(exp(-t))+exp(exp(-t-2*pi))).*sin(t); plot(x,y); but I want to show the domain ...
2
votes
0answers
101 views

Drawing 3D surfaces with triangles (to show curvature effects)

I'm looking for a way to draw 3D surfaces in LaTeX with triangles on them to show the sum of angles being >, =, or < 180 degrees, exactly as in this photo . I'd just like to do it myself, but I'...
0
votes
4answers
250 views

Plot Graph with axis

Lower curve is given by function y=$\left\lfloor {\frac{x+2}{2}} \right\rfloor$ and Upper curve is given by formula y=4 for x=2,3 while y=$2 \left\lceil {\frac{x}{3}} \right\rceil$
2
votes
2answers
166 views

How to create a probability space diagram?

I would like to create graphs similar to the one shown below using LaTeX. Is it possible to create such a graph? If so, which tools / libraries / techniques can I use to be able to do it?
2
votes
1answer
102 views

Problems with bode diagram (representing an image)

I need help to represent this image (I needed this because I must represent the bode diagram): I know how to represent bode diagram, for example if we have the transfer function H = tf([1 0.1 7.5]...
0
votes
0answers
52 views

How to write this in LaTex [duplicate]

I'm new in LateX and even a simple thing, like the letter in attachment, drove me crazy.. I haven't been able to put the image in the top of the first page, put the subject and the title in the same ...
8
votes
4answers
543 views

Drawing non-trivial mathematical diagrams?

I am trying to draw the following mathematical diagram (see attached). If all the elements were in an array style figure I would be fine with the usual \begin{array} etc. However the arrows from the \...
4
votes
2answers
334 views

How can I draw a tree structure graph?

I already draw the directed graph but it shows some error. MWE: \begin{document} \begin{figure} \begin{tikzpicture}[>=stealth',shorten >=1pt,node distance=3cm,% on grid,...
16
votes
1answer
210 views

Generate wordcloud of LaTeX document symbols

Is there an automated way to generate either a wordcloud or at the very least a list of all symbols used in all math environments in a LaTeX document? I'd like to generate a symbol-only wordcloud, ...
5
votes
1answer
101 views

How do I connect the vertices of a regular polygon?

I have a diagram that is just the 4 vertices of a square, all colored. I want to connect the vertices so that the square has edges. How do I do this? My code currently looks like this: \...
5
votes
1answer
105 views

tikzpicture dynamically calculate points

I'm learning how to draw diagrams with tikzpicture and I am looking for some help to dynamically calculate some points. I've made the diagram below, but I am struggling to calculate the point U^* (0,-...
4
votes
4answers
208 views

With which package will I create, in the shortest code, two points with horizontal error bars with overlap region dashed?

Pgfplots? Metapost? Tikz? As I can't make it right now with any of them, I have to choose one of them to study. Which of them? Which has shortest code? Which has best image quality? I don't mind if ...
3
votes
0answers
140 views

Change cubes in 3d plot pgfplot to bars

I am plotting a 3d diagram using cubes to represent the data. Works fine so far. Basically, this is what I started with: http://pgfplots.net/tikz/examples/scatter-cube-plot/ Now what I want to do, ...
1
vote
0answers
36 views

Issue with graphics and multicol

For my paper I'm using multicols{2} and i assume that this gives me some issue with including graphics. I use the following commands: \documentclass[12pt,twoside,a4paper,notitlepage]{article} \...
2
votes
1answer
120 views

Creating Rational Functions with Horizontal Asymptotes and More on Tikz

I recently asked a question about how to use Tikz to create phase line diagrams. However I had a follow up question. The question is how I would go by creating a rational function or other types of ...
5
votes
3answers
164 views

How to repeat a drawing

I want to repeat a drawing in certain distances horizontally to form a group; then move the whole group in certain distances vertically such as that on page 1 of the included ions.tex Is there a more ...
3
votes
2answers
292 views

Is it possible to graph and draw phase lines in LaTex?

I'm working with modeling infectious diseases with compartmental models using differential equations. I want to do some qualitative analysis for my rate of infected individuals. Now, I know that it is ...
2
votes
0answers
68 views

How should I label the differentials (arrows) in sseq for a spectral sequence?

I'm trying to typeset a spectral sequence using the sseq package, which provides a way to place objects on a grid and draw arrows between them. I'd like to put labels on the arrows, as one can do with ...
0
votes
0answers
88 views

truly orthogonal edges with dot2tex + TiKZ?

Has anyone been able to generate TiKZ diagrams with truly orthogonal edges using dot2tex? When processed with dot2tex -p -ftikz --prog fdp, the edges in the following graph are not completely ...
0
votes
2answers
143 views

How to draw below network in latex?

I am new to Latex, i have to draw above diagram in latex. Can any one please help me, How to draw above network diagram in Latex.