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
vote
1answer
247 views

Add caption for diagram in tikz cd

consider the following code. \documentclass[14pt,reqno,a4paper]{amsart} \usepackage{extsizes} \usepackage{blindtext} \textheight 9.3in \textwidth 6.5in \calclayout \usepackage{amsmath,amsthm,amsfonts,...
2
votes
1answer
107 views

How to draw a region of non-uniform electric field in TikZ?

How to draw this diagram in TikZ? I'm sorry for not providing an minimal example here, because I am totally stuck from the very first. I can't find a solution for many sub-problems which occured ...
3
votes
1answer
585 views

Electron Configuration

I have seen some other postings about related electron configurations, but nothing that matched what I was looking for. I'm wanting to create the following image:
0
votes
3answers
116 views

Cylindrical diagram of a water filter

I am trying to recreate this diagram (drawn in a WYSIWYG program and didn't spend a lot of time on it: The 25cm label describes the height of the pipe (filled with different types of sand / rock). ...
1
vote
1answer
125 views

How can I draw this kind of hierarchy diagram?

I apologize in advance if this question (or one which implies an answer to this) has already been asked. Any suggestions on how to draw in Latex a diagram of the following shape ? Thank you very much ...
1
vote
1answer
48 views

Picture in LaTex table vertical centered

This is my first post here so please understand if I did something wrong. I want to have a table in LaTeX where icons should be displayed in the first column (centered) and text (vertically centered) ...
1
vote
1answer
214 views

Formating figure and table to be side by side on beamer

I have this I want them to be on one slide side by side. I tried using minipage to know success whatsoever. Here is my entire latex code: \documentclass{beamer} \usetheme{Warsaw} \usepackage{...
3
votes
2answers
240 views

Composition of natural transformations diagram

I'd like to draw a diagram with tikz-cd for a composition of natural transformations between functors that looked like the following The best I could do so far is given by the following code: \...
2
votes
1answer
106 views

Drawing logic circuits using circuit_macros

I am trying to draw a circuit logic diagrams using circuit_macros and it is not straightforward for me. I just read the manual of circuit_macros and then some of the publicly available examples at ...
2
votes
1answer
131 views

Adjust labels of diagrams after exporting from Inkscape

SE, I am not experienced at TikZ at all, so I decided to use Inkscape. Using Inkscape, I recreated this diagram (p. 13) In Inkscape, it looks pretty good, with the labels (i.e. Eluent and Probe) ...
1
vote
1answer
555 views

dashed line in picture environment

I have drawn the Figure in the picture environment and I have these long lines (which act as the x1-x2 axes) in it. I would like to make these lines dashed, though. Some googling turned up a command,...
0
votes
1answer
120 views

Draw random walk arrow diagrams on grid or cube

I am trying to draw the following three figures that all involve a center point with arrows pointing to the outer vertexes. The first and third are on a grid. The second involves the center of a cube ...
0
votes
1answer
145 views

Creating graph coordinate in LyX

I'm looking for a way to create the following graph coordinate in LyX. Which package should I use and How should I approach this problem? I read some prevoius threads on how to do such things and I ...
3
votes
2answers
215 views

Function definition diagram

I'm wondering if it exists a canonical/natural/smooth/economical way of drawing such a diagram for the definition of a function. The best I managed to do with tikz and align is very poor. I'm a ...
0
votes
1answer
100 views

Diagonal table with numbers

I am trying to recreate the following table, which has a diagonal grid with regular numbers in it. Is there any efficient way of doing it without drawing / positioning everthing manually? I have ...
7
votes
4answers
2k views

LaTeX figure drawing

How to draw this figure in LaTeX? I am new to LaTeX figure drawing. Here I see two round headed rectangles and two circles. Also I am eager to know that can I draw this in Overleaf?
2
votes
1answer
59 views

I found this diagram - How do I make it in LaTeX?

I found the following diagram in a book allegedly written entirely in LaTeX. As a TeX amateur I was wondering if any of you knew how I could make this.
1
vote
1answer
63 views

rescaling xymatrix diagram is not sufficient to resize

Hi I have the begining of the following diagram but it doesn't work \documentclass{article} \usepackage{amsmath} \usepackage{xcolor} \usepackage[all,cmtip,color]{xy} \begin{document} \[ \resizebox{\...
0
votes
0answers
36 views

image side by side with table [duplicate]

Good morning, I would like to put the picture on the left of the table, all horizontally. When I try this solution it doesn't work. What changes is the picture and table are aligned with left margin ...
-6
votes
3answers
189 views

Drawing the following diagram [duplicate]

I hope to draw the following diagram Thanks a lot for your help.
0
votes
1answer
84 views

Alternateur Diagram

I would like to make this diagram. I can find the good program can you help me
-2
votes
2answers
94 views

How do i make something like this using TIkz? [closed]

Hi I want to make a square arrangement just like this, this is for a data sample so I want to be able to fill some of the squares in; eg, three blank in a row followed by two black (filled) (*I am ...
2
votes
1answer
105 views

Customize a layered block diagram

I have a diagram where layers of blocks are stacked on top of each other as shown in the image. Using this code: \documentclass{standalone} \usepackage[utf8]{inputenc} \usepackage{tikz} \...
0
votes
1answer
81 views

Photographic Diagram

I'd like to realize the Photographic diagram like you can see: I've tried but I can't find the good program.Thank you for your help.
9
votes
6answers
805 views

Topology diagrams (labelled edges)

What is the best way to create diagrams like these in LaTeX? Is Tikz the way to go? (Code for these specific instances would be useful but is not absolutely required, since I'll be needing to make ...
1
vote
1answer
93 views

Entering subcaptions for figures without using subcaption environment

I'd like to realize this picture in LaTeX to show radiation of the dipole. I've already ask this question Radiation diagram. But, I need to have the caption for each diagram WITHOUT using \subcaption!...
1
vote
2answers
469 views

Simplest way to draw a control flow graph similar like this?

I'm been using Inkscape for the entire time, and it was just too much time consuming to resize the box, creating the arrow and placing the block etc... I've noticed about tikz in latex, and wonder if ...
5
votes
3answers
297 views

TikZ specifying barycentric coordinates using just lists of numbers

Here's what I currently have to type: \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \coordinate (a) at (90:3cm); \coordinate (b) at (210:3cm); \coordinate (...
2
votes
1answer
320 views

Multi input block diagram using TikZ

i want to create a block diagram that has multiple inputs into the next block, but do not seem to be able to get it to work at all. I would like to produce it like: This is what i have right now: \...
4
votes
1answer
187 views

Reshaping a commutative diagram

I have this diagram: \documentclass{article} \usepackage{amsmath} \usepackage{xcolor} \usepackage[all,cmtip,color]{xy} \begin{document} $$ &&\xymatrix{ &&&&&X\times Y\...
2
votes
1answer
160 views

Radiation diagram

I'd like to realize the radiation diagram of the dipole like you can see (both): I 'd like add a caption. I've tried but I can't find the good program. I'd like to add arrows to radiation diagram ...
1
vote
0answers
58 views

Make a floating box anchored to text using inline code [closed]

I'm trying to make an Organizer, including a weekly planner, based on one I found on the net using tex. I've managed, until now, to make some changes to adapt it to my needs and, for example, include ...
2
votes
1answer
135 views

Radiation diagram of dipole

I would like to realize the radiation diagram of the dipole half-wave on latex but I can't find the good program. May I have the solution or an help please. I'd like something realize this, And ...
3
votes
1answer
98 views

arrow, diagrams.sty (Paul Taylor)

My code follows: \documentclass[]{book} \usepackage[silent,nohug,heads=LaTeX,midshaft]{diagrams} \newarrow{Dashto}{}{dash}{}{dash}> \newcommand{\undera}{\underline{a}} \newcommand{\Spec}{\mathop{...
0
votes
1answer
304 views

What is the most efficient way to draw sets in LaTeX?

What is the best way to draw sets in LaTeX. I want to have a visualization of the Sets of a certain proof because it is way easier to see than to read. But I am not sure if it is worth the effort to ...
0
votes
2answers
57 views

Searching for a special package to describe strings

I am quite new in LaTeX and at the moment I am looking for an opportunity to describe strings (or URLs) like this: Do you know a package I could use for something like this? Thank you for your help!
1
vote
0answers
25 views

figurei picture is shifting [duplicate]

When I add the picture, the word and pdf is the full page and the Latex moves to the right of the page.How can I solve this problem? \documentclass{article} \usepackage{graphicx} \begin{document} ...
2
votes
2answers
54 views

How to closed lines? \oval

How to close lines in this? I tried and failed! \documentclass{article} \begin{document} \begin{picture}(50,50) \put(22.5,7){\oval(3,2)[lt]} \put(22.5,7){\oval(3,2)[bl]} \put(22.5,7){\oval(3,2)[tr]...
5
votes
3answers
3k views

Drawing a diagram in LaTeX

How can I draw this diagram in LaTeX?
2
votes
1answer
294 views

Drawing braid diagrams in Latex, t-angles.sty package

I found this extremely cool package "t-angles.sty" (manual found here) which seems to fit perfectly to what I was looking for. Unfortunately I can't figure out what's the problem in my code. I want ...
4
votes
2answers
147 views

Dashed hook right arrow

I'd like to use a dashed hook right arrow instead of a classic one in my LaTeX document, but I don't know how to create one. MWE: \documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[...
1
vote
0answers
62 views

Displaying images in tikz on a beamer, while holding some back to the next slide, unwanted copies [closed]

It was rather complex to give a short description of my issue. Sorry for that. I am currently making a presentation. In this presentation I make use of the tikz package, and within the tikz picture I ...
0
votes
1answer
27 views

Labels are missing in the Tree

In the following tree, the labels are concatenated to their parent node. For example in the first branch of the tree from left, I would like to have "the" as a leaf, but it sticks to D (its parent). ...
3
votes
1answer
84 views

Drawing a centrally aligned tree using LaTeX

I am trying to draw a tree in LaTeX via following code. It works; however, it is always aligned to the left. How I can make it aligned to the centre? \usepackage[T1]{fontenc} \usepackage[utf8]{...
7
votes
2answers
591 views

How to create an ER diagram using tikzpicture environment

The creativity time in the code has arrived! I would like to make an Entity–relationship model (ER model) using tikzpicture environment. I have found that TikZ actually have a library for that (\...
6
votes
3answers
657 views

Draw curved lines simply

How to draw nearly-arbitrary curved lines simply? For example, how to draw this graph: Source Introduction to Algorithms (3rd edition) by Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, ...
4
votes
2answers
673 views

How can I create this graphic?

The picture shows a normal linear regression. Although it is easy to compute on paper, I have no idea how to code a linear regression in order to get an output shown as in the picture. I would be ...
2
votes
3answers
221 views

How to draw automorphism on Dynkin diagram?

I know how to draw a Dynkin diagram and add labels on the vertices using Tikz-cd or the package for Dynkin diagram, but how to draw an automorphism intuitively as in the following picture? I don't ...
1
vote
0answers
79 views

diagrams.sty can't draw \ruTo(4,2)

I ran into a problem of drawing an arrow \ruTo(4,2). The following example didn't draw the diagonal arrow, as in However, it works well for \rdTo(4,2) and \ruTo(2,2), as in and I'm really ...
4
votes
3answers
401 views

Plotting a rectangular waveform with LaTeX

I need to plot a rectangular waveform with Latex. The main problem is how to make the height of the pulse "variable" not a "number" as you can see in the figure below. "x" here is some variable that ...