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
2
votes
1answer
134 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
182 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
728 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
140 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
188 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
229 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
105 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
60 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
70 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
192 views

Drawing the following diagram [duplicate]

I hope to draw the following diagram Thanks a lot for your help.
0
votes
1answer
92 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
138 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.
10
votes
6answers
885 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
97 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
603 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
353 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
396 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
231 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
173 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
59 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
150 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
150 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
359 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
59 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
58 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
370 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
162 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
63 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
88 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
785 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 (\...
7
votes
3answers
814 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
683 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
254 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
85 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
465 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 ...
1
vote
2answers
73 views

not able to centre tikz picture

For the undermentioned tikz picture, I am not able to place it in centre. May kindly help. \tikzstyle{startstop} = [rectangle, rounded corners, minimum width=3cm, minimum height=1cm,text centered, ...
2
votes
1answer
209 views

drawing commutative diagram

I solved the problem I mentioned below, thank you very much for your suggestions. I want to use the diagram to appear in the article. I want to set the size according to the article in this example. ...
1
vote
2answers
207 views

How to draw 3 components diagram?

I would like to draw the following figure in LaTeX, but I am unable to get any satisfying result with the packages tikz, smartidagram or even graphicx. I am grateful for any tip and suggestion. ...
2
votes
1answer
201 views

Network Communication Diagram Help

I tried using msc package but it suffers from many issues. This is why I decided to draw it like the following. My code: %!TEX TS-program = pdflatex \documentclass[border=1mm,tikz]{standalone} ...
3
votes
2answers
151 views

Multicolumn and xintfor

This is my first time asking a question on Stack Exchange, although I'm a frequent reader. I tried to build a tabular that generates a sort of array, with indexes displayed above. This is the code: $...
8
votes
2answers
273 views

Making diagrams

I'm interested in making a type diagram: I have the following commands: \begin{equation*} \xymatrix@C+1em@R+1em{ \A \ar[r]^-{f} \ar[d]_-{g} & B \\ \C \ar[ur]_-{h}} \end{equation*} Who ...
2
votes
1answer
120 views

Drawing a diffractometer diagram

Im trying to recreate this diagram onto Latex but its sort of beyond my abilities to do so. How can I recreate this?
4
votes
1answer
956 views

JavaScript library for producing TiKZ-like diagrams?

I can use mathjax for equations and symbols generally, but what about diagrams? Mathjax doesn't support TiKZ, so I'm looking for a JavaScript library which can be used in place of TiKZ. So far ...

1 4 5 6 7 8 46