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

7
votes
2answers
279 views

Help with drawing tikz diagrams of worldsheet topologies

Can someone help me reproduce the following images - or parts of them - with tikz. (In case it helps to clarify my intent: I am trying to draw the worldsheet topologies for the vacuum diagram of the ...
9
votes
2answers
126 views

Putting labels on a cube with perspective

I'm trying to draw a cube where the faces are labeled with full perspective. I saw this question but I was looking for more perspective. Any help is greatly appreciated. Below is my attempt: ...
0
votes
1answer
69 views

Create tikz image of conformal map from disk to plane

Can someone help me reproduce the following image (source) illustrating the conformal map from the unit disk D to the upper-half plane H using tikz?
3
votes
0answers
18 views

How to crop the figure in a specific shape in latex using includegraphics or tikz? [duplicate]

For example, \documentclass{article} \usepackage{graphicx} \begin{document} % left \includegraphics[trim={5cm 0 0 0},clip]{example-image-a} % right \includegraphics[trim={0 0 5cm ...
4
votes
2answers
293 views

Please, how can I get the following drawing?

I was wondering what would be better ways to get the following diagram with tikz? Thanks The code : \documentclass[a4paper,10pt]{article} \usepackage[utf8]{} \usepackage{tikz} ...
2
votes
1answer
27 views

How to align the nodes of a graph?

I am using the following codes to get my graph, \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} \begin{tikzpicture}[->,auto, node distance=3cm, ...
0
votes
1answer
67 views

How to draw this picture : a phase portrait in LATEX

Please I need some help. How can I draw this picture on Latex ? Thank you in advance.
2
votes
0answers
60 views

Recursive tree in Tikz

I'm trying to build a large inverted tree structure in Tikz, like the one below (except much larger, and ideally recursive): In this tree structure, each 'line' is made up of three nodes, and each ...
2
votes
1answer
83 views

Drawing chemical structure - newman projections

I'm trying to create a figure showing some different possible chemical structures of the butane molecule in the form of the right most diagrams in the below image and I'd like to know the best way to ...
2
votes
3answers
40 views

transform a vector in dash vector in picture environment

I have a picture environment to create a figure. I want to modify a vector in a dash vector. Here is a MWE: \documentclass{article} \begin{document} \setlength{\unitlength}{5cm} ...
4
votes
2answers
95 views

How to align more than one datavisualization within a single tikzpicture environment

Consider the following situation. I have three plots, where basically the axes are the same and I want to place them side by side. Since it doesn't make sense to repeat the axis labels for every plot, ...
1
vote
1answer
53 views

Automatic node placement without overlapping

I am trying to generate an ER diagram with automatic positioning of the nodes. This code has got a nice output, but I have to manage manually the position of the nodes. I have tried to replace "left ...
0
votes
2answers
43 views

I want to make a grid and a rectangle shape inside the grid

Hi everyone I am trying to draw in latex but it is hard. I want to make a grid and a rectangle shape inside the grid with few labels. I would really appreciate some help!!
17
votes
4answers
792 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
243 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
95 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} ...
1
vote
0answers
33 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
479 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 ...
3
votes
1answer
51 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
470 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: ...
1
vote
1answer
67 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 ...
0
votes
2answers
89 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
23 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
63 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
210 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
202 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
222 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
222 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
58 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
79 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 ...
1
vote
4answers
159 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
129 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
383 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
384 views

Ladder diagrams using Tikz

This is a ladder diagram I need help in drawing it using Tikz, please help me.
3
votes
1answer
111 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
25 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
389 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 ...
1
vote
0answers
59 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
74 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
86 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 ...
1
vote
1answer
54 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
38 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
61 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} ...
2
votes
0answers
22 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
46 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
61 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
230 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
184 views

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

This is the case,I'm sorry for the drafty picture