# Tagged Questions

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

4answers
9k views

### How to place a node in the middle of an arc?

I think it is a simple question, but I didn't find the answer yet. The code I'm using is the following: \draw[->](1,0) arc(0:-30:1) node[midway]{$30$}; But in this way the node is placed at the ...
2answers
32k views

### Drawing a TikZ arc specifying the center

The TiKz command for an arc: \draw (0,0) arc (-30:30:2) ; Draws an arc that starts at (0,0), and would be the part of the circle from -30 degrees to +30 degrees of radius 2. It is very hard to ...
5answers
2k views

### TikZ - Recursive Arc Drawing

I'm trying to make Farey diagrams similar to those seen here (click) or the screenshot as follows, Namely, I'd like an example of the one seen on the top of page 6. From there I hope I can figure ...
5answers
623 views

### What is the simplest way to align a line with a circle?

Is there a simple way with TikZ to align a line to a circle without manually specifying an arc to join two separate lines like in the example below? \documentclass{article} \usepackage{tikz} \begin{...
3answers
8k views

### How to get correct arrow orientation on TikZ arc?

I'm trying to fix the following TikZ figure, where the circle device in the middle should be embraced by two bended arrows pointing counter-clockwise. I have drawn these arrows with an arc path, ...
2answers
9k views

### How is arc defined in TikZ?

Several questions about how arc is computed: The start and end angles seem to be defined relative to the y axis, yet in the Tikz manual they are defined relative to the x axis. Is this right? Is the ...
3answers
331 views

### How to indicate letters conjoined across words?

I'm trying to indicate how verses in Latin are scanned. Part of that is indicating where the breaks between syllables occur. Sometimes a syllable begins with a consonant at the end of one word and ...
4answers
656 views

### How can I draw this circle with different colour?

I am trying to draw the following picture but I have some difficulties. I code the following: \documentclass{article} \usepackage{xcolor,pict2e}% to allow any radius \usepackage{tikz} \begin{document}...
3answers
507 views

### arc that passes from (B) having a center on (A), automatically calculates (AB) distance

I want to create an arc which automatically calculates the distance (AB). Inspired by page 58 at pgf manual. But the code block % \draw (H) ++arc (15:60: $(A) ! - ! (B)$); does not help much. ...
4answers
1k views

### Draw an arc over 360 degrees

I have the following problem with tikz: I want to draw some circular arcs, but unfortunately these arcs have degrees which pass the 360° line. I would like to be able to draw these arcs with one ...
2answers
607 views

### How to automatically obtain the center of the circle used to draw the arc in TikZ?

The TikZ arc command is a little unusual, since the center of the circle used is not actually specified in the API. The API does not follow standard arc construction. From example, in Mathematica, to ...
1answer
2k views

### Is there a good tutorial for Asymptote?

I'm trying to do some figures with asymptote, which is new to me and every step is a painful trial an error. I especially need to use the arc command in 3D: path3 arc(triple c, real r, real theta1, ...
2answers
937 views

### Draw edge on arc

I would like to draw an edge between two nodes which lies on a clip of an circle. For small angles I was able to get some more or less realistic appearance by using bend left and bend right, but for ...
2answers
418 views

### Connecting an arced path in TikZ

I'm trying to draw an octant of a sphere. I'm not an expert on drawing perspective, but I managed that with, among others, the arc command. With the sphere drawn I made some layers, again with the arc ...
1answer
252 views

### Marking a specific point on an arc

I want to draw a line from one arc to other but I do not know if it is possible to mark a point on an arc and start drawing on that point. Is it possible to draw lines like below image? \...
1answer
174 views

### Arcs not being properly drawn for some special coordinates

While attempting to draw some geometry diagrams in TikZ, I was having problems drawing an arc to mark off an angle. The arc kept falling too short and would not intersect both rays of the angle. (It ...
1answer
585 views

### How to use curve path with fill command in tikz?

I´ve tried using arcs to get the picture below, but I have to precise a specific center for each arc, because they don´t finish in the point which they should. Instead of arcs, I want to use curve ...
3answers
805 views

### How to shade a partial annulus

How can we shade a partial annulus? \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (-3.5,0)--(3.5,0) node[right]{$x$}; \draw (0,-3.5)--(0,3.5) node[above]{$y$};...
1answer
258 views

### Combine rounded corners and arc

Is there a way to combine rounded corners and arc? If I try it like this, I always get "additional lines". I need the black shape (without lines on both corners) and the 180 degree rotated version. \...
3answers
3k views

### How to Intersect an arc with a line without calculating the angle

I'd like to draw an optics-related figure, for which I need to draw several beams with varying opening angles, which will need to be labeled. What I've come up at the moment (boiled down to a minimal ...
2answers
388 views

### How can I improve the look of an arrowhead at the end of a small-radius arc?

Arrow heads added to arches with small radius look ugly, they do not look symmetrical. Here is an example : \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows.meta} \...
1answer
2k views

### How do I draw an arc between two lines in pgfplots using axis cs

I would like to draw an arc between to lines in a pgfplots picture using axis cs. My first attempt is as follows: \documentclass[12pt,a4paper]{article} \usepackage{pgfplots} \pgfplotsset{...
3answers
112 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 ...
1answer
283 views

### dotted or colored arc in \xymatrix

Does not arrows style or color option apply an arc in \xymatrix? Please let me know the way. \documentclass{article} \usepackage[arrow, matrix]{xy} \begin{document} \[ \xymatrix{ A \ar@{.&...
4answers
4k views

### Draw a rectangle with rounded ends in TikZ

I want to draw some round-ended rectangles to use as labels, so I thought a filled arc either end would work (silly me :-) \draw [fill](0,0) arc[radius=5pt,start angle= 90,end angle=270]; \draw [fill]...
2answers
371 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 ...
2answers
383 views

### how to add tip for a curve to make it look likes an arrow

I would like to draw a filled arrow around a circle. So far my picture is I need to add tip at the end of the green curve in the above picture. I would like to be able to add tips for either sides....
2answers
3k views

### joining two points on an arc

I am looking to join two points arc. I want the arc to travel counter clockwise. The two points are (3.15,0) and (-1.05,3.15). \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows, ...
1answer
253 views

### How to clip overlaying surfaces/paths instead of filling them with white?

The following code \newcommand*{\arcthickness}{0.3} \newcommand*{\myarc}[4]{ % x,y,radius,text % node is positioned by splitting the arc in two parts % see http://tex.stackexchange.com/a/76369/...
1answer
126 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 ...
1answer
680 views

### Specify radius of an arc with pgfplots and axis direction cs?

I'm trying to draw an arc (the top half of a circle of radius 8, centered at (-8,0)) but I can't figure out how to specify the radius in pgfplots's coordinate system. Here's a MWE: \pgfplotsset{...
1answer
131 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} ...
3answers
130 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: \...
1answer
161 views

### circle vs arch with shorten — normal or bug?

When I draw arches using arc in pgf, the arch path precisely fits on the path of the corresponding (ie having the same radius) circle (red on black in the attached figure). When I apply shorten to the ...
3answers
380 views

### Tikz-Place a rectangle in specific angle

I am trying to place a rectangle on top of an imaginary circle of certain radius, whose center lies in the middle of another rectangle. What I've tried so far is the following \documentclass{article} ...
2answers
4k views

### Draw the proper angle arc

I am trying to draw an arc to indicate angle between y axis and r line, but I don't seem to achive it. My code is \documentclass[11pt,a4paper]{book} \usepackage{kerkis} %\usepackage{kmath} \...
3answers
285 views

### How to draw an arc in Tikz that has gaps specifically placed in it

I was wondering how I could draw an arc in Tikz that has small gaps in it in a simple way, like this: Here is working example: \documentclass{article} \usepackage{tikz} \begin{document} \begin{...
2answers
1k views

### position arc relative to circle [duplicate]

Possible Duplicate: Draw arc in tikz when center of circle is specified an very trivial question but I can't do it! Sorry but I find coordinates confusing. I would like to draw an arc around ...
1answer
168 views

### Where is the error? - TikZ (angles)

In my thesis I'm doing a drawing with TikZ, but I get an error that I do not understand. Consider this code (simplified from the original, but still quite significant): \documentclass[border=.5cm]{...
2answers
371 views

### Tikz: Emphasizing part of a drawn path

How can I emphasize the counter clockwise trajectory on ellipse ecc2768 and the clockwise trajectory on ellipse ecc6789? Is there a command that will follow the ellipses from P1 to P2? \...
1answer
152 views

### Is this a bug in pgf ? pgfpatharcto

I made a simple and shortest example. I create a simple path containing an arc. But if I compute that path before the begin document, I obtain garbage, whereas it works as expected after begin ...
1answer
42 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)...
1answer
263 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,...
1answer
376 views

### PGF: draw longitudinal arcs in 3D axis environment

I want to draw a sphere, similar to the first one here: http://www.texample.net/tikz/examples/map-projections/ But - of course - different. This is, what I did so far: The dashed lines are behind ...
2answers
143 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....
3answers
173 views

### Problem with Arc

I need to construct an arc depending on a variable. Some lines of the code work some do not. Any ideas? \documentclass[tikz]{standalone} \begin{document} \def\BLS{\baselineskip} \begin{tikzpicture}...
3answers
437 views

### how can I use intersection points to draw a proper arc for my simple instance

I would like to join points (s) and (t) via arc. Could u help me to implement it?! I've tried it by such way \draw (s) arc (t); It is wrong! To say simply I need the correct arc without spreading over ...
1answer
88 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) ...
1answer
59 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 ...
2answers
144 views

### Strange behaviour of arcs with pgfplots v1.11

This only happened after I updated to latest pgfplots version v 1.11 and used to be compiled with a fine looking result. \documentclass{standalone} \usepackage{tikz} \usepackage{pgfplots} \...