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

learn more… | top users | synonyms

17
votes
3answers
4k 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, ...
4
votes
3answers
99 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} ...
7
votes
2answers
110 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 ...
6
votes
1answer
38 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: ...
7
votes
1answer
84 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 ...
6
votes
2answers
75 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} ...
5
votes
2answers
174 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 ...
3
votes
3answers
121 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} ...
5
votes
1answer
102 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 ...
23
votes
5answers
817 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 ...
7
votes
1answer
162 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. ...
19
votes
5answers
431 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} ...
1
vote
2answers
150 views

Foreshortened Curved Arrow in TikZ

I need to show the rotational symmetries of a tetrahedron, and I've settled on using Sketch-generated TikZ code. I've included \usepackage{tikz}, \usetikzlibrary{arrows} and \usepackage{pstricks} so ...
4
votes
1answer
127 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 ...
8
votes
2answers
258 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 ...
7
votes
3answers
308 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) ...
2
votes
1answer
192 views

TikZ: Is drawing an arc that either curves to much or isnt long enough

\documentclass[convert = false, tikz]{standalone} \usetikzlibrary{intersections} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \coordinate (O) at (0, 0); \coordinate (M) at (4, 0); ...
7
votes
1answer
720 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, ...
23
votes
4answers
4k 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 ...
4
votes
1answer
128 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): ...
3
votes
2answers
243 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? ...
5
votes
2answers
750 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, ...
1
vote
1answer
441 views

arrow heads on arc curves

How can I have arrow head appear properly on the arced curve? \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,decorations.markings,calc,fadings,decorations.pathreplacing, patterns, ...
11
votes
3answers
418 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. ...
2
votes
1answer
1k views

Use \overarc to represent an arc

I can not understand why the following tex file does not compile. \documentclass{elsarticle} \usepackage[hmargin=1in,vmargin=1in]{geometry} \usepackage{amsmath} \usepackage{amssymb} ...
8
votes
1answer
291 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 ...
8
votes
1answer
189 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? ...
8
votes
1answer
152 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 ...
3
votes
2answers
1k 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} ...
6
votes
1answer
176 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 ...
1
vote
0answers
101 views

Draw centered label above arc in TikZ [duplicate]

Possible Duplicate: How to place a node in the middle of an arc? Following the manual where labels are positioned on curves (\draw (0,0) .. controls (6,1) and (9,1) .. node {midway} ...
4
votes
2answers
505 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 ...
8
votes
1answer
9k 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 ...
7
votes
1answer
992 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} ...
11
votes
4answers
705 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 ...
7
votes
3answers
2k 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 ...