Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arc]

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

2
votes
1answer
29 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
34 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
271 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
115 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
496 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
120 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
197 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
136 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
89 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
85 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
59 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
482 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
528 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
391 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
126 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
368 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
143 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
66 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
132 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
946 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
124 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
980 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
735 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
68 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
290 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
175 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
224 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
428 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
463 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
162 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
616 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
252 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
527 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
902 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
573 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
192 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
244 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
171 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 ...
12
votes
2answers
401 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
81 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
77 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,...
4
votes
3answers
214 views

foreach loop for adding arcs using commands path and edge

i want to know how to use the foreach loop for adding arcs using commands \path and edge. For instance, the following code generates a cycle and the task is to add the arcs not manually: \...
6
votes
2answers
690 views

Draw arc with start radius different from end radius

I need to draw an arc with a start radius different from the end radius. My drawing is as follow (adapted from one that I found here) and I need fill some regions between the irregular arc and the ...
4
votes
1answer
633 views

Draw a transparency gradient arc over a rectangle with tikz

Consider the following code: % DOCUMENT TYPE \documentclass[12pt,a4paper]{article} % PACKAGES \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage[margin=10pt,...