Questions tagged [draw]

{draw} is for questions regarding drawings in general. If the drawing is to be done from within LaTeX, include the relevant tags for the package to be used, e.g., {tikz-pgf}, {pstricks}.

Filter by
Sorted by
Tagged with
3
votes
1answer
54 views

writing multiple dots in formation

I would like to write multiple dots in some formation (in circle, in a row, etc.) within text or formulas. Somewhat similar like the token dots in petri nets, which made me look into the TeX/Tikz ...
0
votes
0answers
28 views

Draw a surface and its normal vector

Draw the surface and its normal vector. I want to insert a similar image in latex, how should I draw such a schematic? What tools should I use to draw similar diagrams? It may be used frequently in ...
0
votes
1answer
55 views

How to draw such a network diagram on LaTeX

I am quite new to latex and I would like to know how to draw the following network diagram from a Markov Chain. Thank you.
11
votes
2answers
134 views

Drawing an accurate guitar fretboard with TikZ

This is kind of a fun one. dist( x ) = s / ( 2 ^ ( x / d ) ) Such that: x = number of the fret being evaluated (let's say {0,...,24} so it's exactly 2 full octaves). s = scale length (...
2
votes
2answers
63 views

using '\foreach' loops to draw tikz figures

I am using \usepackage{tikz} to draw something using xyz coordinates. I have a bunch of coordinates named (xyt) such as (000) (001) (020)...(001)(011) etc, they are created by: \coordinate (ijk) at (...
10
votes
2answers
314 views

TikZ Can I draw an arrow by specifying the initial point, direction, and length?

I would like to draw something similar to this: I was able to draw the triangles, but I cannot figure out how to easily draw the arrows. This is my attempt: \documentclass[12pt]{book} \usepackage{...
0
votes
1answer
60 views

General Directions for Drawing This Diagram?

I was wondering if you can tell me which commands I should use to draw the various pieces with TikZ? I will write the code and adjust all the parameter, I would just like to know which commands are ...
0
votes
1answer
84 views

Illustration of Riesz's lemma with Tikz

Good evening! I am writing a presentation on Riesz's lemma and I am blocking on the drawing of these figures with Tikz package , I ask for your help please.
1
vote
2answers
52 views

doubling up on edges in a tikz graph

I made the following diagram based on an excellent, very interesting answer to an earlier question. %%% Preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass[border=9,...
3
votes
2answers
60 views

Color gradient in circle from center and keep transparency

So I am trying something: I want to have a loop reading out the position of circles from a dat file. The plotting already works very well. However now I want to implement a gradual shading from semi ...
0
votes
1answer
57 views

Draw a hysteresis stain-stress Loop

I would like to draw a strain-stress hysteresis Loop, something that looks similar to the picture below? So far I only found this code here: \begin{tikzpicture} \begin{axis}[very thick, ...
1
vote
4answers
61 views

Super simple Hasse diagram using LaTex [closed]

I am not a LaTex expert, but I should generate a Hasse diagram (which describes a lattice) that reflects this (simple) figure: Sorry if the drawing is a little bit crooked, but I hope you understand.
1
vote
3answers
66 views

The best way to draw this branching diagram figure in an equation

What is the simple and the best way to draw this figure in an equation? Thank you! (tikz is fine.) (Hopefully, such that $\simeq$ sign in between PDIFF and PL is formulated nicely. My version I ...
1
vote
1answer
50 views

Draw a diagram with colors and texts [duplicate]

I would like to draw the attached diagram, but since it contains colors and texts I couldn't get a good picture. If one can help me with code that would be great. Note, the boxes are of the same size! ...
0
votes
1answer
29 views

Drawing a projection on closed convex with tikz

I sollicite your kindness to help me draw this of Theorem of projection on closed convex , by using the Tikz package. Thanks in advance for your help.
3
votes
1answer
112 views

Animating a 3d plane

I'm learning how to produce animations in LaTeX. After some trials with different pictures, I would like to animate the following picture and start from the answer that Marmot provided me in this ...
5
votes
3answers
169 views

Problem with drawing 16-sided shape in TikZ [closed]

Is there any formula or function to draw a 16-sided shape directly? I write a code for 16-sided shape but it doesn't satisfy me. And I want to put the page number inside a 16-sided shape. How can I do ...
5
votes
2answers
87 views

Follow-up: Drawing Game Tree with Curved Informational Sets and Several Nodes, using Tikz and Forest

This is a follow-up from Drawing game tree - Tikz or Forest? The sequential game tree I am trying to draw is this one: I am using tikz and forest to draw it, but I am still far from it. In ...
5
votes
2answers
249 views

Drawing game tree - Tikz or Forest?

I am trying to draw the following tree: Below is the code I have so far, and I don't know how to do it accurately. Also, I am using "forest." Would it be better to use Tikz? \documentclass{article} ...
5
votes
1answer
60 views

TikZ: How to make edges jump to show they don't intersect?

I saw this and I like how the lines jump over each other to show they're not connected when they cross over: Here's the code for it. I tried to apply the same technique, without much luck: % ...
-1
votes
1answer
60 views

Help with some Graphs [closed]

I've been trying to reproduce these graphs so I can use them to a school project, but I don't know where to start. I'll be happy if someone can take his precious time and help me with some codes that ...
2
votes
1answer
30 views

Label parallel to draw

How to make the label on the way of the draw? Currently, my label "cross" the draws. Here is my MWE: \documentclass{article} \usepackage[margin=2.5cm]{geometry} \usepackage{tikz} \usetikzlibrary{...
3
votes
2answers
169 views

How to draw this center trajectory of rolling ball?

I'm a beginner to the latex tikz and I want to draw this picture but dunno what's the best command or idea here
6
votes
1answer
139 views

best way to draw planes in 2d?

I would like to replicate the following image and I would like to know how to represent the third state into the page by using the tikz-3dplot package, maybe starting from the answer to a previous ...
1
vote
1answer
58 views

TikZ Grid Paper With Node Coordinates

I suck at drawing with TikZ, and it takes forever, so I decided I need a new approach. When I use Illustrator and Inkscape, I like to start with a grid; like graph paper. So now I do this (below), so ...
0
votes
1answer
58 views

Skew line in the torus animation

I want to draw the following situation on Latex, but I don't know how! In the bottom of the page, a torus with a "moving" irrational dense winding line, like in this video And above this torus, I ...
4
votes
1answer
56 views

Dots at the end of a function in tikz

When using tikz to plot a function, a certain domain has to be specified. However, if the function continues outside of the specified domain, it would be nice to have the classical three dots at the ...
2
votes
1answer
35 views

Drawing a set with a particular shape

I would like to draw a non-convex set as in the following image and I like to start from my MWE: \documentclass[12pt,a4paper]{book} \usepackage{tikz} \usetikzlibrary{calc, shadings} \usetikzlibrary{...
0
votes
1answer
39 views

Draw with Tikz an image where two convexes are separated

I am looking for a way to draw both these two pictures, which describes the separation of convexes. and I looked in some posts, but with no results. Given my ignorance of the Tikz package, I can'...
1
vote
0answers
34 views

How to draw straight line in a tikz diagram? [duplicate]

I need to draw line from my central node to every other node. I know how to draw from point to point: \draw[darkblue2, thick](virt-manager)--(libVIRT); I know also that I can specify where ...
2
votes
1answer
118 views

How do I draw a simple recurrent neural network with Goodfellow's style?

I need to draw a recurrent neural network that has the same architecture has the following one In other words, a RNN with one input, one single hidden and recurrent unit and one output. However, I ...
4
votes
2answers
92 views

Branch & Bound Geometric Shapes

I am dividing a box to two halves, and plotting it in Tikz. An example code is: \begin{figure}[!h] \scalebox{1.5}{ \begin{tikzpicture} \filldraw[fill=gray!40!white, draw=black] (0,0) rectangle (4,2); ...
-1
votes
2answers
57 views
1
vote
1answer
55 views

draw with edges

I'm drawing this figure ; And I'm stuck at this point: I need help for three things: How can I draw from NFVI to OSS. I tried this, but I think I'm missing something How can I change the starting ...
5
votes
2answers
74 views

Using new command for a tikz draw

I created a TikZ picture using \newcommand and I want to use it as a subscript. The problem is that it is too big, is there a way I can make it smaller? Here's what I have tried: \documentclass[...
0
votes
1answer
54 views

Tikz - airfoil forces and angle indication

I've generated a ClarkY airfoil with \draw function, but is small. So I decide to resize it, but it resize all and it's not what I want This is what I did: \begin{figure}[h!] \centering \resizebox{...
3
votes
3answers
176 views

tikz: 5 squares on a row, roman numbered 1 -> 5

Having never worked with tkiz before, I can't even begin to understand how to draw this simple thing. I hate to beg for a "can someone make this for me" but after trying to make this solution work ...
0
votes
1answer
42 views

Circling around some text

I would like to be able to draw a line around some expression. So far, I have found how to draw a circle around an expression, but I wonder if it is possible to draw a less restrictive shape (ellipse, ...
2
votes
1answer
53 views

Fill area under Bezier curve

I would like to fill the area under a Bezier curve and a line with color in PSTricks. How can I do that? Here is what I tried so far: \begin{pspicture}(20,25)(160,80) \psline[linewidth=0.55]{|->}...
0
votes
1answer
59 views

How can I draw this spiral (with vertical sides) in tikz?

How can I draw this spiral (with vertical sides) in tikz? The only way I would know how, would be to copy and paste code to draw semicircles of different radius, followed by connecting the ...
2
votes
2answers
113 views

How can this triangle figure be modeled/drawn with TikZ?

How can the following image be drawn?
2
votes
1answer
39 views

Defining intersections and nodes

I've replicated the figure below through the following MWE \documentclass[12pt,a4paper]{article} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture}[dot/.style={circle,...
5
votes
2answers
214 views

Drawing perpendicular lines, filling areas

I still have some trouble with perpendicular lines. This is the figure I'd like to replicate This is my MWE \documentclass[12pt,a4paper]{article} \usepackage{tikz} \usetikzlibrary{calc} \begin{...
2
votes
1answer
79 views

How to adjust Venn Diagram for A^c and A - B

How can I adjust this venn Diagram so it becomes like what I wrote on the Image below? I need to Color the "M" rectangle on the third Diagram and to remove the intersection between A and B on the ...
2
votes
1answer
176 views

Drawing a simple plane in 3D space

I'm trying to produce this simple 3d picture, but, since it's the first time I draw a 3d pic, I'm not sure about how to get the plane passing through the line X. The following code shows a first ...
8
votes
2answers
489 views

TikZ/PGF draw algorithm

I have TikZ code that draws an ellipse. Here is the code that, AFAIK, draws the actual ellipse: \draw [rotate around={0.:(0.,0.)},line width=0.8pt] (0.,0.) ellipse (5.cm and 4.cm); Can anyone tell ...
1
vote
3answers
111 views

Drawing Ellipse and Half-Ellipse in LaTeX

how can I draw some ellipses being "cut" by a half-ellipse like in the image (and also being able to write some labels on the ellipses)? And also, what should I do if I want to have a circle/ellipse ...
0
votes
1answer
47 views

Drawing two surfaces which intersect at a point or made a surface [closed]

Is it possible to draw a similar kind of diagram in Latex or in other software? This picture is there in Differential topology by Guillemin and Pollack. I need to give a similar sort of pictures ...
4
votes
2answers
165 views

Intersections in Tikz

The following code produces , however I would like to highlight the intersection area between the line through the coordinates A and B and that perpendicular to the vector x.3, defined in the \...
2
votes
1answer
56 views

Draw a circle with a fixed but unknown radius

I want to draw a circle centered at a point O and passing through a second point A. This is easy if we have an explicit formula for the distance |OA|. In many cases, these two points are given as the ...