Half annulus 1st and 2nd quadrant

  • Context: MHB 
  • Thread starter Thread starter Dustinsfl
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around creating a counterclockwise oriented annulus using LaTeX, specifically focusing on the graphical representation and adjustments to its dimensions. Participants explore the use of TikZ for drawing and express preferences for different graphic design tools.

Discussion Character

  • Technical explanation, Debate/contested

Main Points Raised

  • One participant describes the desired orientation and structure of the annulus, specifying the movement from delta to R and back.
  • Another participant provides a LaTeX code snippet to illustrate the annulus, asking for confirmation on whether it meets the initial request.
  • A similar code snippet is shared again, with a query about how to make the annulus wider.
  • A participant notes the presence of \newcommand's that define the parameters delta and R, suggesting these can be adjusted for size changes.
  • Another participant expresses a preference for using Corel Draw over LaTeX for creating graphics, citing its capabilities and export options.

Areas of Agreement / Disagreement

There is no consensus on the best method for creating the annulus, as participants express differing preferences for tools and approaches. The discussion remains unresolved regarding the optimal way to adjust the annulus dimensions.

Contextual Notes

Participants have not reached a conclusion on the effectiveness of the LaTeX method versus Corel Draw, and there are unresolved questions about the specific adjustments needed to modify the annulus size.

Dustinsfl
Messages
2,217
Reaction score
5
I am trying to make a annulus oriented counterclockwise so with arrows.

So the annulus goes from delta to R on the positive x-axis then circles around to -R and goes to -delta and circles around from -delta to delta.
 
Physics news on Phys.org
Like this?

annulus.png


Code:
 \usetikzlibrary{arrows,decorations.markings}
 \begin{tikzpicture}[>=stealth']
 \newcommand\delt{1.5}
 \newcommand\R{2}
 \draw[->] (-3,0) -- (3,0);
 \draw[->] (0,-1) -- (0,3);
 \node[below] at (\R,0) {$R$};
 \node[below] at (\delt,0) {$\delta$};
 \draw[
   thick,
   decoration={
     markings,
     mark=at position 2cm with {\arrow{>}},
     mark=at position 8cm with {\arrow{>}}},
   postaction={decorate}]
   (\R,0) arc[start angle=0,end angle=180,radius=\R] --
   (-\delt,0) arc[start angle=180,end angle=0,radius=\delt] -- cycle;
 \end{tikzpicture}
 
Evgeny.Makarov said:
Like this?

annulus.png


Code:
 \usetikzlibrary{arrows,decorations.markings}
 \begin{tikzpicture}[>=stealth']
 \newcommand\delt{1.5}
 \newcommand\R{2}
 \draw[->] (-3,0) -- (3,0);
 \draw[->] (0,-1) -- (0,3);
 \node[below] at (\R,0) {$R$};
 \node[below] at (\delt,0) {$\delta$};
 \draw[
   thick,
   decoration={
     markings,
     mark=at position 2cm with {\arrow{>}},
     mark=at position 8cm with {\arrow{>}}},
   postaction={decorate}]
   (\R,0) arc[start angle=0,end angle=180,radius=\R] --
   (-\delt,0) arc[start angle=180,end angle=0,radius=\delt] -- cycle;
 \end{tikzpicture}

What can I change to make the annulus wider?
 
There are \newcommand's in the beginning that define delta and R.
 
I find a lot of work of making pictures on LaTeX, I do rather prefer Corel Draw which can give you amazing results and you can export images on EPS.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
5
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K