Questions tagged [arc]

{arc} is about arc drawing in {tikz} or other graphic environments, including {pstricks}

0
votes
1answer
43 views

How to turn vector

\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=0.5cm,y=0.5cm] \clip(-0.07329043126526,-0.796492988559363) rectangle (9.967791037095613,9.97807138066155); \draw [->,line width=...
0
votes
2answers
43 views

draw an upside down parabolla

I would like to draw the following figure (rotated 180 degrees--I do not know why it came out upside down) using TikZ: It seems that this should be easy, and I have tried playing with ARC function ...
3
votes
3answers
283 views

Connecting circles clockwise in TikZ

I need this to work with any \n I decide to set in TikZ (because the diagram at this point is undetermined). I don't mind setting margin manually, but no arcs except the one from node 3 to 4 connect ...
2
votes
1answer
31 views

A defined macro works with \draw but not with \fill

I used the \centerarc command provided in this answer to fill a region enclosed by arcs. I have made a slight modification. I have removed the \draw inside the definition and the first parameter. MWE:...
1
vote
1answer
32 views

error with this tikz example

I m getting an error will executing this example \documentclass{article} \usepackage{tikz} \begin{document} \begin{center} \begin{tikzpicture} \draw (0,0) node[below] {$O$}; \draw (0,0) ...
2
votes
1answer
40 views

Put angle symbol between segments

I'm not sure how to put the angle arc symbol between the segments 'pm' and 'pz' in this figure I'm making: \documentclass[tikz, border=5mm]{standalone} \usepackage[utf8]{inputenc} \usepackage[...
2
votes
1answer
36 views

Tikz: issue when combining arcs and arrows?

While editing my answer concerning centered arcs with Tikz, I realized that there might be an issue when arrows are created: the piece of arc is slightly distorted. This disappears for "normal" arcs. ...
7
votes
1answer
282 views

Different Arrowheads bend differently (Tikz)

I have stumbled upon some weird behaviour regarding arcs and arrowheads. Here is a MWE: \documentclass[tikz]{standalone} \usepackage{tikz} \usepackage{graphicx} \usetikzlibrary{arrows....
3
votes
2answers
134 views

How do I mark an angle with multiple arcs?

I have been trying to find a good answer to this question (or a question to match it): I'm trying to give an angle a marking with multiple arcs in the interior, as per the pictures below. I'm not ...
12
votes
1answer
509 views

How to draw an arc for a bullet

My apologies in advance if you feel that this question is more about drawing instead of being technical. The following diagram is what I want to replicate in Latex: I believe I have done most of the ...
5
votes
1answer
150 views

Cross-section of an electric machine circuit

I'm trying to draw the following diagram in tikz I wrote the following code and the regenerated graph is below: \documentclass[tikz,border=5mm]{standalone} \usepackage{amsmath} \usepackage{amssymb} \...
3
votes
1answer
54 views

Arched rectangle

I have a rectangle with some dashes on it sitting somewhere not in the origin (0,0), as: \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} % just to show the ...
4
votes
3answers
266 views

Tikz: Curved Label for arc

I'm trying to reproduce the following picture with tikz: And i have my Problems with the curved Label Text 'x-f(x)' My code looks like this: \documentclass{article} \usepackage{tikz} \begin{...
4
votes
1answer
139 views

Symbol for trigonometric arc

I want to type the notation same as the below picture.
1
vote
1answer
44 views

TikZ only arrowhead is drawn, but not the arc itself

I tried to overlay an image with some drawings using the TkiZ-package and so far everything works but drawing arcs in the scope. Here only the arrowheads show but the arc itself is not. As you can see ...
2
votes
1answer
96 views

how to use the arc and shade function to draw an amazing cylinder shape

I want to draw a cylinder with tikz, I haven't used \usetikzlibrary{shapes.geometric} indicader in the answer answer here I am going to complete my figure to show the arc behind in dashed, i want to ...
0
votes
2answers
92 views

how can I draw the radius of an arc using r * (cos (angle) and sin (angle))

i want to draw an arc of circle, and figure out the raduis on the graph, using: raduis\times cos and sin 45\deg when i specify the radius r=1.5cm, i can't get it on the border, anyone can help me, ...
2
votes
1answer
61 views

How do I use a drawn arc as border?

The question is writen in the title, i got the grey filled part and it has to fit on the arc. I did it manualy but supose there is a better solution i can't figure out. Thank you in advance, Leo. \...
8
votes
2answers
510 views

How to fill a shape defined by arcs?

I have three intersecting arcs, and I want to fill the region inside the intersection points. \documentclass{article} \usepackage{tikz} \begin{document} \begin{figure}[htbp] \centering ...
1
vote
1answer
690 views

How can I draw an arc in 3d using tikzpicture, in the xy plane?

So I'm trying to draw an arc from the x axis to the y axis to simbolize the cross product between r and p, and I'm using the code below, but as you can see it doesn't give me the arc that I'd want. ...
3
votes
4answers
415 views

Drawing a diagram with arc and angle

I am new to LaTeX. I need to draw the following in TikZ or PSTricks. But TikZ is preferable.
3
votes
1answer
131 views

Drawing shaded regions bounded by arcs with tikz

I am trying to create a tikz image based on the following screenshot: I can figure out how to draw a pyramid, but I have so far been hopeless at drawing the red shaded regions. Here is the minimal ...
7
votes
2answers
402 views

How to draw two intersecting cylinders?

By using the TikZ package, I want to draw this: and For the results below, I still need help from GeoGebra. (It's hard for me to draw arcs in slanted position and in shading.) \documentclass[border=...
2
votes
1answer
155 views

Wavy Arcs in Tikz

I have the following simple code: \documentclass[notitlepage]{report} \usepackage{tikz} \usetikzlibrary{snakes} \begin{tikzpicture} \draw[line width=2pt] (0,0) to (0,4) node[above]{\text{D1}}; ...
2
votes
1answer
67 views

What is the correct way to draw the following diagram

I am trying to draw the following figure using tikz. (Apologies for the rough sketch.) This is how far I have gotten: \begin{document} \begin{circuitikz} \coordinate (o) at (2.5,-1); \draw (1,3)--(...
3
votes
1answer
137 views

Question about drawing semicircles around a circle on tikz

I've been looking at this question: Creating gears in TikZ What I would like to do is convert the gears into semicricles that are touching, so far i have this: \documentclass{article} \usepackage{...
1
vote
2answers
1k views

Shift Arc Location --> Reference Angle

I'm making worksheets to help students remember the unit circle and/or special triangles. I want the blue arrow to represent the reference angle, between the terminal arm and the x-axis. How do I do ...
2
votes
3answers
131 views

Draw an arc tightly (with no margin)

What I want to get is the following picture, with a difference that the curve is an arc, not parabola or other curve. One way to achieve this is to make a path of circle and use intersections library, ...
5
votes
3answers
1k views

Drawing an arc for given two endpoints, center and radius of the arc

Consider the following code: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{intersections, calc} \begin{document} \begin{tikzpicture}[auto] \draw (0,0) node[below] {$P$} -- ...
1
vote
0answers
99 views

Polar Triangle with Tikz

This is what I'm trying to draw using Tikz. Any help? :] Thanks.
12
votes
3answers
747 views

Drawing circular sector regions

I would like to round the corners of the gray filled areas. The problem seems to be in how I am building the borders as separate pieces as opposed to one contiguous command that can use the "rounded ...
2
votes
1answer
73 views

Using an arc in a continuous path

I'd like one of the edges of a "rectangle" to be an arc. I had hoped that an arc could be used similarly to --, and that cycle would close the whole path, but apparently it only closes the arc. How ...
3
votes
2answers
305 views

How to show rotation directions of a cube in tikz 3dplot

I try to semicircular arrows with heads on both ends. All of them should have their center around O. They should mark the rotation directions of the drawn cube. For example one semicircular arrow will ...
3
votes
1answer
181 views

Drawing arcs with radius not at origin

I'm looking for the best way (meaning simplest) to draw an arc for the interior angle of a triangle (or any other regular polygon). I'm using a triangle presently. Here's my minimal working example: ...
4
votes
1answer
242 views

TikZ: Connect “normal” coordinates with coordinates in a scope environment?

I am trying to achieve something like this in TikZ with LaTeXiT to use it in a non TeX environment as an .svg or .png: With this code: \documentclass[11pt]{standalone} \usepackage{tikz} \...
1
vote
0answers
443 views

Drawing an arc with pstricks and latex2html5 [closed]

I get an issue about drawing an arc with MathJax and latex2html5 (from http://latex2html5.com/). I would like to draw this schema with these 2 libraries above : Unfortunately, I can't get to ...
20
votes
2answers
471 views

Drawing a spinner

I am trying to create a spinner as shown in the figure below. I have drawn the disk but I am confused how should I draw the rod of the spinner. My Code: \documentclass[a4paper]{article} \usepackage{...
2
votes
1answer
167 views

filling an arc in a circle

I don't know how to fill an arc in the chart below \documentclass{standalone} \usepackage[x11names]{xcolor} %Additional colors \usepackage{tikz} \begin{document} \begin{...
1
vote
1answer
680 views

tkz-euclide's \tkzMarkAngle “arc” option

I'm trying to adapt an example from the tkz-euclide manual (image below), where the arc is constructed by "three lines"... I assume that's achieved by adding the option arc=lll in the \tkzMarkAngle ...
2
votes
1answer
262 views

Draw an arc using radius and angles up to specific point

I have following code in TiKZ: \documentclass[border=.5cm]{standalone} \usepackage{tikz} \usetikzlibrary{positioning,calc,decorations.text} \begin{document} \begin{tikzpicture} \draw (0, 0) ...
6
votes
3answers
542 views

TikZ using \tkzMarkAngle in pics

I am trying to draw some Penrose tiling in order to learn more about tikz, and I can now make pics and place them. But I can't label angles: if I use \tkzMarkAngle (which would be ideal) in pics, I ...
3
votes
2answers
953 views

Semicircle in TikZ using start and end points instead of angles

I need a semicircle in TikX starting at (x1, y1), ending at (x2, y2), assuming that the circle is centered at (cx, cy) and has a radius r. For instance: (x1, y1) = (0.25598, 0.8256) (x2, y2) = (0....
5
votes
1answer
594 views

Shading the area between arcs with a rainbow

I am trying to shade areas between arcs in a rainbow fashion - and I want to be able to control if the red end is the lower end or at the upper one. MEW: \documentclass{standalone} \usepackage{tikz} ...
2
votes
1answer
204 views

Draw coterminal rotation angles with pstricks

How draw the rotation of coterminal angles at 135 degree with pstricks, as a shown in figure.
0
votes
2answers
252 views

A problem drawing arcs associated to angles

I need to draw arcs to denote angles inside an equilateral triangle. To do this, I am using the arc function in tikz with the help of the calc package. However, if I use an automatic solution which ...
2
votes
1answer
182 views

Asymptote: spring along an arc

I wish to know how to draw a spring along an arc using Asymptote Using import spring and drawspring(length,label) can only draw a spring along a straight line. In TikZ this drawing an spring along an ...
13
votes
2answers
405 views

How can I draw edge bundles with TikZ?

In my job I often draw network diagrams. Connections are usually doubled for safe redundant operation. Also, connections can be bundled for performance reasons, so there may be four connections ...
0
votes
0answers
39 views

How to draw an arc when the central coordinates are given [duplicate]

I tried the following: \begin{tikzpicture} \coordinate (A) at (4,5); \draw (A) arc (-30:-150:1); \end{tikzpicture} What this does is that it starts the arc from the coordinate A. Is there any ...
4
votes
1answer
83 views

Specifying an arc without declaring a radius

I am trying to make are crescent shape like that shown below using two arcs. The code that I am using is: \draw (0,0) arc [radius=5cm, start angle=270, end angle=450] node[pos=0](A){A} node[pos=1](B)...
1
vote
1answer
81 views

adding labels after the arcs with a foreach loop

I have this code that generates a cycle graph with labels in the arcs (reference here): \documentclass[border=2pt,tikz]{standalone} \usepackage{wasysym} \usetikzlibrary{decorations.pathreplacing,...