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
108 views

Making a command for drawing diagrams

I know that there are other solutions for creating diagrams in LaTeX, especially in TikZ, but I've got the following problem. Consider this MWE with the output: \documentclass[border=5pt,tikz]{...
3
votes
4answers
2k views

How to draw a diagram with arrows?

I want to draw the following diagram in LaTeX:
1
vote
1answer
151 views

How do I solve this issue I am having when graphing this CDF? [duplicate]

The graph is not working as intended and I am getting the following error code: ! Package pgfkeys Error: I do not know the key '/tikz/discontinuous' and I am going to ignore it. Perhaps you misspelled ...
1
vote
1answer
254 views

Three-sets Venn diagram using TikZ with comments/labels inside and outside the circles

I am trying to produce a three-sets Venn diagram illustrating my research agenda and my published work. I am having a hard time including the comments inside the circles, particularly regarding the ...
1
vote
0answers
89 views

How can I draw this figure in LaTeX [closed]

Can I use latex instead of office or Visio to draw the protocol shown below: Please note there are pictures and some symbols I wanna like to write as in the final paper.
4
votes
2answers
99 views

Draw a picture by Tikz

I am trying to draw a picture of function look like this: Not sure how to start it. Can anyone help me on this picture?
2
votes
1answer
428 views

Help with economics graph

I am new to LaTeX, but I need to draw this 2 period model. Thank you in advance!
2
votes
1answer
98 views

How to draw the connected text nodes diagram in tikz?

I am very new to tikz pakage. Can anybody plese help me to write the diagram in tikz package? \begin{figure*} \centering \resizebox{\textwidth}{!}{ \begin{tikzpicture}[ textnode/.style={ ...
1
vote
1answer
93 views

Drawing Young Tabloids in proper way

I am trying to get tabloid looks like this But no idea how to get something look like it. All I can get is something look like by using \ytableausetup.
11
votes
2answers
361 views

Sphere packing in a sphere diagrams

Inspired by How to create nice-looking nuclei in TikZ?, I am trying to draw arrangements of spheres, in particular the sphere packing in a sphere problem. From Wikipedia - "Sphere packing in a sphere ...
2
votes
1answer
281 views

Creating cryptography box security games in Tikz

I am writing up some work on signature schemes and wanted to include some security proofs in Tikz which have similar form to the image below: I can't find anything on this forum or elsewhere which ...
4
votes
1answer
122 views

Tikzcd: set description option in labels of arrows as default

I want all arrows in my tikzcd diagrams to have labels over them, as in the example below. \documentclass{article} \usepackage{tikz-cd} \begin{document} \begin{tikzcd}[sep = large] T \arrow[drr, ...
0
votes
0answers
68 views

PDF and PNG different in size

When I use different types of pictures (png and pdf) although defining them with same size, I get different sizes as can be seen in the following . Here are the packages and code I use: \begin{figure}...
2
votes
1answer
93 views

TikZ datavisualization: pins / labels add whitespace between figure and caption

I'm using TikZ's data visualization feature to create a figure. This is working fine, up to the point where I add pins and/or labels to the figure; doing so creates a large amount of whitespace ...
9
votes
5answers
533 views

How to align nodes in a layered block diagram in tikz?

I want to document layered software architectures and protocol stacks using TikZ. Each layer has one or more elements, and there is no strict association between elements that are above each other. I ...
0
votes
1answer
129 views

How to insert pictures with LaTex + dvips + ps2pdf quick build?

I am using a quick build of "LaTex + dvips + ps2pdf + view PDF". What is the easiest way to insert (multiple) pictures? I am fairly comfortable with LaTeX but I have never done this before. So if ...
6
votes
2answers
416 views

Venn Diagrams and Patterns

As a teacher, I really appreciate the venndiagram usepackage with its functionality. Is there a way to fill the sets with patterns instead of a solid color (for better printing)? Something along the ...
2
votes
1answer
196 views

sketching a polar curve using tikz and orientation counterclockwise

I would like to modify the code below so that Can I indicate the counterclockwise directions with arrow -- from O to B -- from B to A -- from A to O Also, 2. Can we indicate theta_1 and theta_2 ...
7
votes
3answers
257 views

Dyck paths behaving as nodes

I am sort of having two main issues with Dyck paths. I'm trying to get to the image on the left (which I edited it with Paint), and what I currently have is the image on the right. I believe that what ...
3
votes
3answers
287 views

How do I draw a path of grey background on the nodes of tikz?

I would like to draw a path of grey along the tiks nodes of my lattices. I tried with drawing double line and filling them, but it didn't look right. Then I found this: How do I draw a path of grey ...
0
votes
2answers
201 views

Typesetting interactions diagram - with smartdiagram ? - (and bug/conflict between babel and smartdiagram)

I am trying to typeset the following kind of diagram : This is an interaction diagram I would use in functional requirements analysis (drawn with MS Word). I tried to use the smartdiagram package, ...
1
vote
0answers
57 views

what is the best ubuntu tool for flow diagram and architectural diagram creation for journal papers with latex? [closed]

I want to create high quality flow diagram, architectural diagram and mathematical diagram in Ubuntu for journal papers and I want to merge with LaTeX code also. The diagram could be converted to ....
8
votes
1answer
2k views

How to draw language family tree in LaTeX

I have been attempting to draw this language family tree into LaTeX: I have tried using the tikz package as well as the forest package, but to no avail. I do not need the colours in the tree, nor do ...
9
votes
1answer
463 views

How do you slant angle labels to match a diagram?

I saw the image below and noticed that whoever made it slanted the angle label to match the slant of the perspective. I think this is a really nice effect that very effectively labels angles in 3 ...
2
votes
1answer
64 views

/Newcommand how to add a picture with specific allignment

In the code you see below I would like to add the option of introducing a picture right after the "employer"/"position" sections. Do you have any idea of how I could achieve that? (package+...
6
votes
3answers
566 views

Producing a triangle diagram with sections

Hi, I am fairly new to LaTeX. I am trying to create the equilateral triangle shown in this sketch, I have provided the code for what I have so far but am stuck at this stage, is there a simpler way? ...
-1
votes
1answer
330 views

How to draw a graph with shaded area by using Tikz [closed]

Anyone knows how to draw the graph in the picture by using Tikz?
-1
votes
1answer
120 views

Drawing attached figure

May I ask how I could draw attached figure with LaTex? Sincerely Ehsan
1
vote
1answer
94 views

How to “plot” a figure with two columns?

This is a nice figure from a database-related paper: How does one go about "plotting" this figure environment? Essentially, one the left I want to put some SQL query, and on the right I potentially ...
4
votes
3answers
276 views

How to limit the range on a function in a TiKZ

How do I limit the y values on the following tikz picture, so that the functions are contained in the box? I tried 'clipping' it into a rectangle, but this makes it hard to format it, and to write ...
2
votes
2answers
129 views

How can I auto label nodes in a forest?

I have tried searching for a solution everywhere however I either haven't been able to see it or it is not there. I have a forest, I would like to add a label to each node such that 'Deadbeef' would ...
0
votes
2answers
92 views

Need help to draw a graph on Latex

I am trying to draw a graph look like this. Anyone can teach me how to do it?
8
votes
1answer
543 views

“equal” arrows without transparent ends possible in tikzcd?

It appears that tikzcd puts a transparent, but visible vertical line at both ends of an \arrow[equal] like this: I find this somewhat irritating and would like to know if it is possible to make ...
5
votes
1answer
88 views

Flow chart questions

I just started using LaTex and this is my first try on drawing a graph. I've encountered some problems and these are my questions: May I know how can I position M,Q and E on the arrows "above" and "...
0
votes
1answer
79 views

Two columns with big arrow in the figure

Is there any example or template like the follows picture? Thanks! (Image source comes from Lu's papger Fig. 2. The multi-party PAKE phase.)
9
votes
3answers
431 views

Reproduce fundamental cell in Tikzpicture

I would like to make easier the creation of the following diagram. I wrote this code that makes a so called dimer diagram where are different hexagons. Each hexagons is numbered and the plot just ...
34
votes
1answer
4k views

Circle of fifths diagram with printed music in LaTeX

There is already a question here about a circle of fifths diagram (link) but I would like to include pictures of staves like this diagram here Is this possible to make it all in LaTeX, I heard there ...
4
votes
1answer
266 views

Vector with Angle Theta Graphic

Is there an easy latex class to create this figure? Thanks!
1
vote
1answer
104 views

Trying to make multicolumns of Young tableaux

I am trying to make something like this picture. However, I was using \begin{multicols} and it doesn't work really well. Anyone can help me?
5
votes
3answers
2k views

How to create complex op-amp diagrams with Circuitikz

I am familiar with LaTeX but semi-new to Circuitikz. I am comfortable creating simple diagrams with nodes and bipolar, however combining them with op amps is difficult for me. I am trying to replicate ...
2
votes
3answers
186 views

Multi-column inserted picture out of frame

I'm trying to add two images side by side in a beamer frame, but one of them is going out of frame. So, one of my images are a pmatrix. I wrote the following code for an adjacency matrix ...
4
votes
1answer
173 views

How can I change the number of iterations from 11 to 3?

The simplified example given below currently uses 11 iterations just for drawing at most 3 stems (vertical segments). It seems that my code is not efficient enough so I want to reduce the number of ...
6
votes
6answers
484 views

Horizontal stretching of pmatrix

I have the following code to generate a pmatrix: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{mathtools} \usepackage{graphicx} \renewcommand\arraystretch{2} ...
0
votes
1answer
799 views

Creating adjacency matrix in LaTeX

How can I create an adjacency matrix like this in LaTeX as a vectorized image?
2
votes
1answer
528 views

Small scale grid using Tikz

I am trying to create a grid that only has a domain between -0.8 and 0 and a range between -0.8, 0,8, with the grid not showing any positive X values. Thus far I have this: But when I try to shrink ...
1
vote
1answer
103 views

Layout of three Young diagram

I am trying to let these three diagrams more neat. Like, (1,1,1),(2,1),(3) are lying on the same line, and the arrows all point the middle of Young diagram. Anyone could help me? My code is: Example:...
1
vote
0answers
115 views

Matrix graphic representation [closed]

I was wondering if there is a method in LaTeX to create matrix representations like the one in the figure
2
votes
1answer
90 views

An arrow between two points using tikz-cd

I drew the following diagram. I want to write "j" as a description in the midway (between K and P) but it doesn't apear. My code is: \documentclass{article} \usepackage{amsmath,tikz-cd} \begin{...
1
vote
0answers
120 views

Placing a tikz under a text [closed]

I drew two tikz pictures and I placed them side by side. The issue I have that that how to make them placed right below the text "The above remarks completes all the steps we need for Green's approch."...
5
votes
1answer
4k views

Drawing a CNN with Tikz

For a report I need to draw the architecture of a convolutional neural network (like in the picture). I'm not sure whether drawing it with Tikz would be the best solution, does anyone have any ...