Questions tagged [diagrams]

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

Filter by
Sorted by
Tagged with
-1
votes
0answers
32 views

Tikz tapered stroke/path profiles

Is it possible to apply different path profiles when drawing lines (i.e. strokes) with TikZ? For instance here are eight identical copies of the exact same Bézier curve with various different path ...
3
votes
1answer
76 views

How to make this TikZ picture more idiomatic? (environment diagram)

I am re-typesetting a picture (Figure 3.9) from "Structure and Interpretation of Computer Programs": The result of my TikZ musings is the following: Please, ignore the white-ish main colour, I want ...
2
votes
2answers
28 views

pgfplots: Change legend shape

I have this code... \documentclass{article} \usepackage{float} \usepackage{pgfplots} \usepgfplotslibrary{dateplot} \pgfplotscreateplotcyclelist{colour-list}{ red,style={fill=red}\\ orange,style={fill=...
-1
votes
0answers
41 views

Hasse Diagram on LaTeX [duplicate]

I am trying to make a diagram that looks like this using tikz on LaTeX but don't know how to. I have looked everywhere online and can't seem to find what I am looking for. Can someone please help?
0
votes
2answers
63 views

automating recursive file hierarchy (directory tree) diagrams with tikz

So, I've been trying to write a python script that will produce the TikZ/LaTeX source code for one of these filesystem tree / directory structure diagrams: Preview Code LaTeX: TikZ \...
2
votes
2answers
91 views

making a horizontal axis in the picture environment

Hi: I'm a latex novice but I managed to make the picture below. The thing that I don't know how to do is make it clear that the first box runs from 11:00 -11:01, the second box runs from 11:01-11:02, ...
2
votes
1answer
29 views

How can we change the positions of the labels on a Tikz-cd commutative diagram?

With this code \begin{tabular}{cc} \begin{tikzcd} & B \arrow{dr}{g} \\ A \arrow{ur}{f} \arrow{rr}{h} && C \end{tikzcd} & ...
0
votes
0answers
20 views

Figure title created from picture's name - why? [duplicate]

Can anyone tell me why I'm getting that extra title (picture's name .jpg at the top)? I don't want to include it.
13
votes
5answers
2k views

Can we rotate symbols in LaTeX? How should we make this diagram?

I would like to insert this diagram Into my LaTeX document. However, I don't know if it is possible at all to rotate symbols, and how they could fit into a diagram (notice that the \cong symbol has ...
0
votes
3answers
106 views

code of this picture

What is the code for write this mapps in this picture?
6
votes
0answers
61 views

Kinematics CAD package for LaTeX

Do any good libraries exist for drawing kinematics diagram in LaTeX. I am looking for something similar to the following image.
2
votes
1answer
69 views

Neural network diagram labeling issue

I have a neural network diagram drawn by using the package neuralnetwork. I have problem with labeling. The labels from input to hidden layers should be 1,2,3,4,5,6 but the code give me 1,2,3,1,2,3. ...
10
votes
2answers
2k views

How to specify start and end date of \chronoperiode in a dd/mm/yyyy format

The package chronosys allows to draw a timeline with a reasonable degree of customization, without the need to draw it by yourself using tikz or similar tools. In my opinion, is the most promising ...
4
votes
1answer
33 views

How can I change the size of the labels of a diagram made with tikzcd?

I am writing a LaTeX document with lots of diagrams, however, I just found out their labels are too small to be read. For example, take a look at the diagram \begin{tikzcd}[row sep=large,column sep=...
2
votes
2answers
42 views

filesystem tree diagram shows strange iteration behaviour

I found this (the one on the left) on TeXample.net. I made the one on the right, based on the same code. I was hoping I might be a be able to write a script to map out a real filesystem. I decided to ...
1
vote
1answer
28 views

How to make a diagram bigger in Tikzcd?

I have the following diagram in LaTeX \begin{center} \begin{tikzcd} \vdots \arrow[d,"\partial_{p+2}^C"] & \vdots \arrow[d,"\partial_{p+2}^D"]\\ C_{p+1} \arrow[d,"\...
1
vote
0answers
46 views

tikz: put figure (no graphic) inside axis environment

Is it possible put a code-made figure (not loaded externally) inside an axis environment? In barely words, a code-made figure in place of a "ordinary" plot. In this code, there is what I would like to:...
0
votes
1answer
43 views

How can I fit a picture in LaTeX (regarding to being center and also fit height and its width)?

I try to put my picture in a page, my picture is a little bit large. I try this way, it does not give me the best answer, some part of the image is cut. I also try [width=\0.5] or [scale=\0.6] or many ...
0
votes
1answer
210 views

How to draw a picture like this in LaTeX?

How to draw a diagram 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.
0
votes
1answer
47 views

How do I create blocks of lines with TikZ with text beside it?

I would like to create blocks of lines with text beside on the left for explanations for example as shown in this image Does anyone know how I can recreate this ? Thanks.
0
votes
0answers
40 views

Cumulative bar graph with tikz

I've got some bar graphs that look a bit like this: Wondering if it's possible to make them look like this below (I've been calling it a cumulative bar graph, but now that i think about it, perhaps ...
35
votes
5answers
13k views

Drawing stars/similar with Tikz

I'm writing a review for a book at the moment, and I thought I'd be clever and show off what LaTeX is capable of by adding a x-out-of-y stars graphic. Tikz can do many things so I would have thought ...
33
votes
5answers
13k views

Drawing hexagons

I have a case where I need to draw a hexagonal grid in LaTeX. I am considering just reading the grid from an eps file. Is there an alternative way to do it completely within LaTeX?
57
votes
4answers
10k views

Replicate the Fourier transform time-frequency domains correspondence illustration using TikZ

The following time-frequency correspondence illustration is in the wikipedia entry of the Fourier transform. Also a gif animation version (if the animation doesn't show, please open the following ...
0
votes
1answer
40 views

Intersecting Eulero-Venn diagrams at the bottom plus arrows

I'm struggling to produce a picture like this with TIKZ. The usual Eulero-Venn diagrams intersect at the center. I want them to make the intersection at the bottom, so there is space for the arrows. I ...
1
vote
1answer
61 views

Draw a simple 2 line using Tikz

Can we easily draw a picture like below? Where should I start from?
4
votes
3answers
92 views

Picture and tabular [duplicate]

I would like to insert a picture in a table just like this (made with word) : In LateX I wrote this : \begin{tabular}{|m{8cm}|m{2.5cm}|m{2.5cm}|}\hline Représentation sur la droite & ...
0
votes
0answers
12 views

What is wrong with that code in picture environment? It does not show of the lines, just the labels

\setlength{\unitlength}{0.25mm} \begin{picture}(400,140) \put(50,20){\begin{picture}(100,100) \Thicklines \path(0,0)(100,0) \path(90,-5)(100,0)(90,5) \path(0,0)(0,100) \path(-5,90)(0,100)(5,90) \...
4
votes
2answers
325 views

How to divide a colour wheel into n segments

Sometimes when drawing a diagram, you want a certain number of similar objects of different colours, but the number might vary and you don't want to have to go through and manually define and assign ...
500
votes
64answers
158k views

Nice scientific pictures show off

Task Show off your best scientific illustration ! The main purpose of this question is to share beautiful scientific pictures, preferably with an educational aspect. Content Your post must ...
-1
votes
4answers
111 views

Diagram of field theory

I want to write this picture in LaTeX, what is the code?
1
vote
0answers
32 views

Producing curved lines connecting AVMs [closed]

I'd like to have curved lines connecting AVMs and I currently have the following: \documentclass[11pt]{article} \usepackage{graphicx} \usepackage{avm} \usepackage{tree-dvips} \begin{document} \...
3
votes
1answer
120 views

How to draw “flag format” lambda derivation diagrams as used in the book Type Theory and Formal Proof: An Introduction

I'd like to draw "flag format" diagrams for lambda derivation as used in the book "Type Theory and Formal Proof: An Introduction". Below is an example in Chapter 2 of the book. How can I do it? Thanks....
0
votes
2answers
61 views

I want to write as the diagram in the picture down

\documentclass[12pt]{report} \usepackage{lmodern} \usepackage{amsmath} \usepackage{amssymb} \usepackage{mathrsfs} \usepackage{amsthm} \usepackage{mathtools} \usepackage{hyperref} \usepackage[utf8]{...
0
votes
2answers
95 views

Asking tikz code for this diagram

Can someone provide me the tikz code for the following diagram? Any help would be appreciated. Thanks so much
8
votes
2answers
4k views

How to create Ishikawa (fishbone) diagrams with LaTeX?

Is there an automated way or a "template" to create Ishikawa (also called "fishone") diagrams with LaTeX? They are used e. g. to show the factors influencing a process and have a hiearchical ...
2
votes
3answers
83 views

Parametric Plots Using Latex

I want to create a plot of the following parametric equations: x(t)=t*sin(t), y(t)=t*cos(t) -3pi/2 <= t <= 3pi/2 Also, I want to show the tangent line on the same chart, which is: y-o = (-pi/...
6
votes
3answers
2k views

How to draw 15-puzzle in LaTeX

I need to draw 15-puzzle in LaTeX, that is, a diagram of a 4x4 grid with numbers inside. Could you please recommend me a package for doing this and some example code?
0
votes
1answer
65 views

3D bang/boom shape in Tikz

I'm looking to make a schematic diagram, showing the interaction of two particles. I currently have a 2D star, however, this looks out of place against my 3D particle. Are there any suggestions of 3D ...
1
vote
1answer
69 views

Recreating this image using Tikz with flattened circle

I am trying to recreate this image: I'm however struggling with the flattened circle shape in the centre as well as getting the curved lines for focusing. My current attempt has allowed me to get ...
2
votes
1answer
34 views

Interrupting edges for node text when the background is non-white

In interrupting edge in automata, a simple way to interrupt an edge is given. It is simple and helpful, iff the background happens to be white (or at least a determined single color). Is there a way ...
0
votes
1answer
66 views

I want to draw Hasse diagram in table, how can I do?

I want to draw Hasse diagram of some partial order relations on common universal set in tabular representation. An example of this is as in the picture (of course, it has to be math form). ...
161
votes
12answers
19k views

Simulating hand-drawn lines

I am working on a project that will have some vector graphics, perhaps using TikZ (or a similar package). All of the graphics consists of lines, in shades of gray. However, the lines from TikZ appear ...
2
votes
1answer
140 views

Edges do not appear using gastex and drawedge

I have a mysterious edge disappearance with the following code (using package gastex, that itself uses ps and auto-pst-pdf): \begin{center} \unitlength=4pt \begin{picture}(16,19)(0,-3)\nullfont \...
1
vote
1answer
38 views

How do I rotate labels in a tree diagram drawn with forest?

I am in the process of drawing a huge tree diagram that I want to fit on a single page (at the moment it does not fit on an A1 page). A simple way to do this would be to rotate the labels. I know this ...
15
votes
4answers
827 views

Feedback diagram

I want to create a feedback diagram similar to I managed to get the following: \documentclass{article} \usepackage[latin1]{inputenc} \usepackage{tikz} \usetikzlibrary{shapes,arrows} \usetikzlibrary{...
1
vote
1answer
35 views

Aligning vertical bar columns and labels nicely

I am trying to draw (in pgfplots) bar diagram similar to this: When I do like this: \begin{tikzpicture} \begin{axis} [ title = Energy in MJ (million joules) to generate \$1, xbar, y=...
3
votes
1answer
94 views

How to draw these images with TikZ?

I had once the need to use these graphics: It seemed to be a simple table, but I was not able to draw randomly while crossing table lines, but with respect to the cell's coordinates (like in the ...
6
votes
2answers
490 views

Bubble Diagram ( See Figure )

How can I create something like this ? Thank You Ahead
0
votes
1answer
35 views

How would you reproduce this vertical adjunction diagram?

How would you reproduce the diagram below? I was attempting with xymatrix, but I don't know how to get sufficient space between the two arrows to fit the vdash symbol, while keeping the arrows ...