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

learn more… | top users | synonyms

1
vote
1answer
54 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} ...
5
votes
3answers
101 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
274 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
0answers
146 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} ...
11
votes
4answers
562 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} ...
6
votes
2answers
308 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 ...
0
votes
1answer
139 views

3D Orbits around Sphere, arc points or orbit coordinates positioning

I have again a question about some 3D tikz problem. Added crosspost at: http://www.latex-community.org/forum/viewtopic.php?f=45&t=26046 Added german crosspost: ...
4
votes
3answers
244 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} ...
13
votes
3answers
274 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 ...
10
votes
2answers
307 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 ...
3
votes
0answers
176 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 ...
3
votes
0answers
90 views

Tikz: Error “dimension too large” when decorating arc [closed]

I'm drawing circles with arrows on in 3D. To do this I'm using decorations, and drawing the circles in halves so that I could change the colours later and draw an arrow penetrating them while keeping ...
3
votes
2answers
109 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} ...
1
vote
1answer
147 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
470 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
266 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
143 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
208 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
336 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 ...
2
votes
1answer
179 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
267 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
281 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
381 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
183 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
3k 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
156 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
139 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 ...
25
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
220 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
544 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
187 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
227 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
590 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
553 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
240 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
1k 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
158 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
325 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
147 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
2k 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
712 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
477 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
402 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
232 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
3k 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
3k 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
164 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
217 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 ...
2
votes
0answers
119 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
850 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 ...