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

17
votes
4answers
800 views

How to create dotted counter?

How can I create a "dotted counter" like the one in the picture. \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \end{tikzpicture} \end{document}
6
votes
2answers
263 views

Write easily a TIKZ flowchart

I created a npm package to write easily a TIKZ flowchart. Flowtex facilitates maintenance of a flowchart. Such as the insertion of new nodes or the positioning of the nodes as a function of others. I ...
2
votes
1answer
132 views

Drawing a block arrow in latex

In a block diagram, I want to connect two blocks with block arrow rather than a single arrow. Is there any LaTex command for that. \documentclass[10pt,a4paper]{article} \usepackage{tikz} \usepackage{...
1
vote
0answers
39 views

Displaying methylation-gene expression graph in latex

I would like to create a diagram for results of methylation-gene expression data analysis. I've starter to read about TikZ, but my first attempts on creating such a diagram didn't work out that well, ...
2
votes
2answers
487 views

How to construct the following diagram in LaTeX?

I would like to construct the following diagram in LaTeX. What's the best way to do it? I'd like to avoid using external software. (I currently have a "linear" sequence \cdots\to H_p(L)\to H_p(K)\to\...
3
votes
1answer
63 views

saving horizontal space in tree diagram

About a week ago @cfr already provided a very decent solution for saving vertical space in my tree diagram. Unfortunately my initial situation has changed now and I am facing a horizontal tree which ...
9
votes
4answers
793 views

Draw a node as a square with TikZ

I googled but cannot find a solution. Is that possible to draw a node with TikZ which will be a square and NOT a rectangle? Minimum working example can be something like this: \documentclass{article}...
1
vote
1answer
81 views

How to draw a desired path on grid with letters on desired coordinate

I know how to draw grid as the above figure. But don't know how to position A(0, 0), (x, 0), B(x, y), (0, y) at (0, 0), (5, 0), (5, 4), (0, r) respectively. I know how to draw a connected rectangles,...
0
votes
2answers
115 views

How to draw the following diagram in LaTeX?

It seems very simple, but I'm newbie with diagrams in LaTeX. I would be glad if I receive some help.
0
votes
1answer
24 views

How to offset a pict2e picture horizontally?

One way or another I have chosen to use the picture environment (with the pict2e package) to create the figures in my document. Now I am to deal with the consequences, the main of which is the figures ...
1
vote
2answers
75 views

Cisco Icons in PSTricks schemabloc

I saw this question, and wonder how to make it using PSTricks... I tried, but failed. The compilation ends, but fails to produce a pdf. I have the Cisco Icons in a subfolder, and putting them in a \...
0
votes
2answers
220 views

problems doing drawing in Tikz

I need to put this drawing in my report (it is a vector x split into two vectors - one parallel to the line T(p,alpha) above and the other one othogonal to the other vector) And then make a dashed ...
3
votes
2answers
211 views

Is there a package for easy drawing of ionization schemes?

Is there an easy/fast way to create energy level schemes like this with Tikz? In the best case, I just want to give the energy levels and labels and the package takes care of drawing everything.
7
votes
5answers
237 views

What is the easiest way to recreate the picture using tikz or tkz-euclide?

I am trying to recreate the following picture in tkz-euclide. One big question I have is if there is a way to create a triangle using only the side lengths. In other words I would like to avoid using ...
3
votes
2answers
227 views

Draw diagram in TikZ

Is there anyone who would like to help me draw this diagram in LaTeX? :-) I got help yesterday to draw the diagram, point and so on but I can't figure out how to draw the little boxes and the lines ...
6
votes
2answers
76 views

Saving vertical space in tree diagram

I have many nodes on one tier. Thus I use the grow east option already. But this is not enough... I would like to save a bit more vertical space for instance through pulling two of the branches a ...
0
votes
3answers
80 views

Help drawing latex needed

How do i draw this i latex? I don't have any experience with this.
1
vote
0answers
93 views

Graphs of the motions - physical [duplicate]

How can I make these three graphs that are each other's consequence ? For the first and seconde I wrote: \begin{tikzpicture}[baseline=(current bounding box.north)] \begin{axis}[hide axis,width=0.4\...
1
vote
4answers
169 views

Drawing a Curve for a Function Diagram

I want to draw the following diagram in LaTeX. How can I do this?
1
vote
2answers
184 views

How to draw this control flow graph using pstricks/tikz

This is just a simplified image of a control flow graph which I want to draw. The boxes contain multiple lines of text/mathematical symbols. And the transitions are all labelled using [] brackets. ...
5
votes
1answer
503 views

How to draw this smart diagram?

I am drawing a diagram having three major steps say A,B,C. I figured out that Smartdiagram gave a neater look(also colorful),than using Tikz. \smartdiagram[circular diagram:clockwise]{A,B,C} How ...
2
votes
4answers
420 views

Ladder diagrams using Tikz

This is a ladder diagram I need help in drawing it using Tikz, please help me.
3
votes
1answer
123 views

Improving tree diagram

Does anyone have an idea how to improve this diagram? I don't know, but it doesn't really blows my mind, yet. For instance, I am not able to manage a good-looking line length and positioning where ...
1
vote
0answers
27 views

how to make parabola and line in picture enviornment

new to latex id like to make this picture using the \picture environment of latex and i have no idea how. thanks in advance
5
votes
2answers
424 views

What would be a fast, flexible way to draw a labelled diagram with many cones, circles and lines?

I want to make some diagrams that look like the following: I have considered TikZ for this purpose, but it appears to be more involved than I would like for creating many diagrams like this that I'...
1
vote
0answers
81 views

How to make a cube in latex

I have to make a cube as shown in picture in latex. Kindly does any one know a simplest way of making cube please. I would really appreciate. Thanks
3
votes
2answers
76 views

Extend a line to find the intersection time on a path

I'm writing metapost. I have a curve between two points (z0 and z1), and an arbitary point somewhere nearby (z2). I reflect z2 about the straight line z0--z1 to give its opposing counterpart, z3. I ...
3
votes
0answers
96 views

Circular flowchart alignment

I´m trying to create a circular flowchart using the smartdiagram package but I can't get the nodes properly aligned. My code: \smartdiagramset{border color=none,set color list={blue!40!,blue!40!,...
1
vote
1answer
67 views

pgfplots x-axis scaling to very small size

I've got a problem here. When I use the code like its shown below, it all works fine. BUT if I'm changing the xmax parameter to a smaller value like for example xmax=0.05 there are some errors ...
0
votes
0answers
39 views

How to get picture at center of the page

Dear All, I am using below lines to add picture to my document but it is not in center of the page (see the picture attached).Does any one know how I can get it at center of the page please. \...
3
votes
1answer
64 views

Some idea to do this blocks diagram?

Some idea to draw this blocks diagram: I only have this: \documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{positioning,arrows.meta} \begin{document} \begin{tikzpicture}[block1/....
2
votes
0answers
31 views

xymatrix/diagram: Changing Arrow Tips/Tails with Spacing

I want to typeset two different kinds of arrows, as in \[ \xymatrix{ \cdot \ar@{{(}{-}{>}}[r]^a & \cdot \\ \cdot \ar@{{)}{-}{>}}[r]^a & \cdot } \] which produces Object ...
0
votes
1answer
47 views

Drawing a simple graph with shortened functions [duplicate]

I wish to draw the following graph: which has 3 functions. (Then I just add different constants to get more lines.) x-r=t, r<0, x<0 x=r, r>0, x>1 (x-r)/(1-r)=t, 0 with the (x-r)/(1-r)=t '...
1
vote
0answers
70 views

Drawing simulation diagrams

Can someone suggest me how to draw this kind of diagrams in LaTeX?
5
votes
1answer
45 views

Performance issues about graphic packages

I develop some web applications which output their reports in LaTeX (I'm aware this is not very standard but "why" and "is it the best choice" do not want to be the point of this question, although ...
9
votes
1answer
239 views

Help with a special picture

inspired by the following graphic, I tried to copy it with tikz. I'd like to modify it in some details: The rim of the coloured background should be homogeneous. I don't want the bonds between the ...
1
vote
4answers
194 views

Join two diagonal vertices of a square with an outer edge?

This is the case,I'm sorry for the drafty picture
2
votes
1answer
122 views
1
vote
1answer
31 views

Problem in plotting block diagram using blox

I use the sample code below to draw part of a complex block diagram: \documentclass{article} \usepackage{blox} \begin{document} \begin{center} \begin{tikzpicture} \bXInput{U} \bXBranchx[2]{U}{N1} \...
5
votes
1answer
158 views

How to draw the inversion of a circle in TikZ?

The inversion of a point P and center O is another point P' along the line OP such that the product OP. OP' = k, that is, a constant k. The inversion of a circle, by a point O (not in the circle) is ...
2
votes
1answer
200 views

Simple plot in LaTeX using gnuplot

I would like to plot sin(x) on a LaTeX document (an article) by using gnuplot commands programmatically inside the document. I am aware that you can save the plot as a .tex file and then insert it in ...
6
votes
1answer
87 views

Help improving this tikz graph of a directed set

I am a tikz novice. I wanted to draw a graph of a directed set and I managed to do so by putting code from online examples together, without much of an understanding what is going on. Now I would ...
1
vote
1answer
64 views

Question about cube in diagram

How can these diagrams be drawn? Furthermore, how can colors be added to these diagrams?
2
votes
0answers
67 views

Composition in a multicategory

I am trying to figure out how to draw composition in a multicategory using same depiction used in Leinster's book "Higher Operads, Higher Categories". Here is what I am trying to draw: I did ...
4
votes
1answer
106 views

Line up nested tikz enviroments or how to get rid of them

In my diagram I have a few components I reuse a lot, thus making "macros" in tikz for them. The current code I have is using nested tikzpicture environments and is not exactly working as expected. Do ...
1
vote
0answers
116 views

How to do these drawings?

I was reading a paper online when I saw some beautiful pictures. I wonder if it is done with tikz or if it is even LaTeX. What do you think? How can I do things of this sort?
1
vote
1answer
97 views

Grouping two blocks in a container horizontally within a diagram

How can I group C and D together horizontally instead of vertically as shown in the diagram below while still maintaining the center alignment of the container? \documentclass{article} \usepackage[...
3
votes
1answer
151 views

TikZ/PGF error when using forest

I am trying to make a linguistics tree using the forest package, as in the second example in this thread. I was able to generate the tree for the most part, but I cannot draw the triangle for some ...
1
vote
1answer
66 views

Curved arrows between two circles

I'm wondering if it's possible to make this sort of diagram in Latex: This question seems like a good place to start, but I don't see how to replace the nodes with circles. Also, I couldn't find ...
1
vote
0answers
132 views

Making a timeline in Tikz?

I am working on my thesis and I would like to make a simple "technology timeline", probably something like this (although I prefer horizontal timelines): Are there useful packages that I can use? ...