1

This question already has an answer here:

I am looking for an easy way to draw an arc that goes e.g. from 45 deg to 90 deg and with 0,0 as center. The arc should start then at (0.707,0.707) and end at (0,1). The common syntax

\draw (0,0) arc [radius=1, start angle=45, end angle= 90];

always starts the arc at (in this case) (0,0) which makes it hard to draw several arcs with the same center but starting from different angles. Or is there something I am missing?

marked as duplicate by Kpym, Werner, user11232 Oct 18 '15 at 12:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • \draw (45:1) arc[radius=1, start angle=45, end angle= 90]; – Gonzalo Medina Oct 17 '15 at 16:44
2

Perhaps this is what you want? Notice the black, red and blue arcs with center at (2,2):

\documentclass{article}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}
\draw
  (0,0) grid (4,4);
\draw (45:1) arc[radius=1, start angle=45, end angle= 90];
\draw ([shift={(2,2)}]45:1) arc[radius=1, start angle=45, end angle= 90];
\draw[red] ([shift={(2,2)}]135:1) arc[radius=1, start angle=135, end angle= 270];
\draw[blue] ([shift={(2,2)}]315:1) arc[radius=1, start angle=315, end angle= 360];
\end{tikzpicture}

\end{document}

enter image description here

For example to get an arc from 50 to 200 with center at (3,2) and radius 3, you could use

\draw ([shift={(3,2)}]50:3) arc[radius=3, start angle=50, end angle= 200];
  • Yes, this answers my question. As expected there is an easy way to do it. – jjstcool Oct 17 '15 at 18:23

Not the answer you're looking for? Browse other questions tagged or ask your own question.