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

learn more… | top users | synonyms

1
vote
1answer
66 views

Specify arc radius in coordinate systems units

This is a follow up on Specify radius of an arc with pgfplots and axis direction cs? If I'd like to change the MWE from there to the following: \pgfplotsset{compat=1.10} \begin{tikzpicture} ...
4
votes
3answers
221 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 ...
3
votes
1answer
114 views

tikz arc with arrow

I am drawing the coordinate system using tikz and I intended to use arrow for the arcs \phi and \theta. But when I use -> in the arc options (resulting a proper arc), inside the graph remains an ...
2
votes
1answer
125 views

Text following an arc

I'm trying to have a text following an arc path. Instictively, I wrote \draw (90:2) arc node{Some text} (90:210:2); but this returned an error: ! Missing number, treated as zero. I suppose I get ...
1
vote
1answer
99 views

Tikz arc angle calculation

I am having a serious mental block this afternoon. I have the following code to generate a shape, and I need one more arc to close it and cycle back to the original point. I can't seem to get my mind ...
3
votes
3answers
179 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 ...
1
vote
0answers
82 views

How to write geometric arcs notation without arcs package?

I've tried some other packages: yhmath and mathdesign, and some codes: \DeclareFontEncoding{FMX}{}{}%%% \DeclareFontSubstitution{FMX}{futm}{m}{n}%%% \DeclareSymbolFont{largesymbols}{FMX}{futm}{m}{n} ...
4
votes
3answers
169 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} ...
8
votes
2answers
176 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
149 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: ...
6
votes
2answers
111 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} ...
8
votes
2answers
319 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
139 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
121 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 ...
24
votes
5answers
1k 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
190 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
477 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} ...
7
votes
1answer
127 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 ...
1
vote
2answers
190 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 ...
8
votes
2answers
413 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
418 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
212 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
952 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, ...
4
votes
1answer
140 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): ...
4
votes
2answers
277 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? ...
4
votes
1answer
134 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 ...
5
votes
2answers
1k 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
546 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
439 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. ...
8
votes
1answer
318 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
207 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? ...
2
votes
1answer
2k 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} ...
4
votes
2answers
2k 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} ...
8
votes
1answer
158 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 ...
6
votes
1answer
194 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
107 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
659 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 ...
16
votes
2answers
13k 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
1k 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
779 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 ...
27
votes
4answers
5k 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 ...
17
votes
3answers
5k 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, ...