Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [circles]

about the production of circles and circle-like shapes in LaTeX graphic processors.

3
votes
0answers
34 views

tikz doesn't fill small figures

The usual command \draw[fill=<colour>] (<centre coordinate>) circle (<radius>); usually works just fine, however, when the radius is very small, for some reason it doesn't work ...
1
vote
1answer
23 views

Draw a line from the center of a circle to the edge:

I'm trying to draw a circle with some radius vector drawn from the center of the circle to the edge (preferably at 45˚) and then a bunch of smaller circles – all on the xy-axis. I have the following ...
5
votes
3answers
166 views

How to draw with Tikz a chord parallel to AC that passes through a point?

I've drawn the following diagram with Tikz: The code used: \documentclass{standalone} \usepackage{pgf,tikz} \usetikzlibrary{babel,calc,arrows,shapes.geometric,intersections,through,backgrounds} \...
5
votes
1answer
79 views

Drawing Quarter-Circle

I have drawn a square as shown below. However, I need to draw a quarter-circle inside the square such that the radius of the quarter-circle is 1 and it the center is drawn in the bottom left. Please ...
1
vote
3answers
95 views

Drawing Ellipse and Half-Ellipse in LaTeX

how can I draw some ellipses being "cut" by a half-ellipse like in the image (and also being able to write some labels on the ellipses)? And also, what should I do if I want to have a circle/ellipse ...
2
votes
2answers
86 views

Circle text inside tikz environment

I am trying to circle some numbers inside tikz enviroment. I followed answers for this question: Good way to make \textcircled numbers? And I used this solution, which work excellent inside normal ...
1
vote
1answer
41 views

\circlearound: Misalign of the circle center

I am using the following code, which I found here at StackExchange to draw a circle around some letters: \newcommand\circlearound[1]{% \setbox0=\hbox{#1}% \dimen0\wd0% \divide\dimen0 by 2% \begin{...
2
votes
1answer
30 views

Text hidden with filldraw in circle

I'm trying to learn Tikz and I'm running into some problems with the filldraw methods, circle and text. I want to have a ellipse in the background, with a circle on top, with a text inside the circle. ...
1
vote
2answers
46 views

Circle using tikz and pgfplots package

I have been trying to obtain this Since i am still an amateur at using the tikz package, i started somewhere. This is my bit of code, but all i am obtaining is this \usepackage{pgfplots} \...
0
votes
1answer
65 views

How to make an animated circle getting smaller and darker [closed]

How do I make a animated filled circle that gets smaller and changes its color? I'm using the beamer class.
2
votes
2answers
57 views

How to make circles with arrows?

\documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations.text,calc,arrows.meta} \begin{document} \begin{tikzpicture} \coordinate (O) at (0,0); \draw (O) circle (2.5); \draw (O) circle (1....
2
votes
1answer
76 views

Fancy progress circle

I would like to make with tikz three progress circles like these + a "Medium level" one wich is half full. I've found this answer (Draw a progress circle around text) but I don't know how to adapt it ...
4
votes
1answer
99 views

How to encircle letters (a-z) with different circle and text colours without tikz?

I need to encircle letters. I am aware of \textcircled{$x$}. However I want to be able to fill the circle with a colour, and also change the colour of text. Specifically, I am looking for something ...
5
votes
2answers
253 views

Generic Symmetric Drawing

I'm trying to prove something and I need a clear drawing to be able to derive the angles and so on. So I thought why not draw it LaTeX ! Okay so my drawing is as such Those are the cases of 8/6 and ...
2
votes
3answers
98 views

Draw circle with nodes and arrows on it

I try to reproduce theses graph, but unfortunately, without success… Here is the Tikz I have produced: \usetikzlibrary{arrows.meta} \usetikzlibrary{bending} \usetikzlibrary{arrows} \begin{...
4
votes
1answer
109 views

Paragraph with a colored circle

I would like to put a red circle before the beginning of a paragraph. This code does that effect but there are a lot of errors: \paragraph{{\tikz{\draw[red,fill=red] (0,0) circle (.5ex);}} PARAGRAPH}...
3
votes
1answer
102 views

Circle with points on its boundary and chords between points

I am trying to visualize a perfect matching by drawing a circle with a given even number of points on its boundary and some number chords going between these points so that each point is incident to ...
1
vote
1answer
75 views

Frame around TikZ circle filled with image

I would like to draw a frame around a TikZ circle that is filled with a picture. Importantly, the code should follow the MWE below (if possible), since it is copied from a larger class definition, and ...
1
vote
2answers
42 views

I have a rectangle with four different vertices. How can I put circles on only three of the vertices?

I am really new to coding and have absolutely no idea what I am doing. \begin{tikzpicture}[ mystyle/.style = {draw,shape=circle,fill=blue} ] \def\ngon{4} \node[regular polygon,regular polygon ...
4
votes
2answers
159 views

Fill everything except a circle in the middle of the plot

I need to make several Plots to show convergence. One of those needs to be opaque with a white circle in the middle where alpha is not allowed. In the code you can see what i'm thinking about. The ...
1
vote
1answer
96 views

Plot circles on axis in pgfplots

I'm just getting to grasp with plots and tikzpictures on latex. I can draw lines and functions now and manipulate them how i want, but i need to plot a circle. \begin{tikzpicture} \begin{axis}[ ...
2
votes
1answer
72 views

How to unfill an area inside a filled one in tikz

I've searched a bit and tried in different ways but I don't manage to get the area of the inside circle unfilled, or, alternatively, to be able to fill only the area between the two circles. Here is ...
2
votes
1answer
69 views

Placing Nodes Around a Circle

I want to draw e.g. 9,13,17 nodes, evenly, around a circle in TikZ. How do I do this? Then I also want to be able to edit easily the edges between the different nodes (to represent different graphs ...
2
votes
1answer
97 views

Circle Highlight in Column

I'm trying to make this table following figure. I can do the table, but I can not insert some circles to highlight some columns, at the end of each circle I want to put arrows down associating with ...
11
votes
2answers
2k views

How do I do dot inside a letter?

A First Course in Complex Analysis by Matthias Beck, Gerald Marchesi, Dennis Pixton, and Lucas Sabalka Ch9.1 Circle: $C[z_0,R] = |z-z_0| = R$ Disc: $D[z_0,R] = |z-z_0| < R$ Closed Disc: $\...
4
votes
3answers
172 views

Circling part of a fraction in equation* mode

I want to circle the "second half" of a fraction in an equation, like this: However, after hours of searching, I'm still unable to do this seemingly simple task. The current state of my code: \...
1
vote
1answer
69 views

Draw a semicircle that has a segment as its diameter

I'm trying to draw a simple schematic of an ATM machine and I can not represent the counter. The schema of a counter is a semicircle with a segment. Their position is on the right extreme and on the ...
5
votes
2answers
264 views

Encircle a formula with arrow pointing from the circle

Is there perhaps a package that already does something like this? In THIS topic encircling a formula is given, but I don't understand the syntax to modify the 'circle' to have an arrow point outward ...
8
votes
4answers
984 views

How to divide a circle into 3 parts with text using tikzpicture environment

I would like to draw a circle divided into 3 parts with text inside, same in each of the three parts (in the middle), using tikzpicture environment. Something like: All the circle and its interior ...
6
votes
1answer
432 views

Drawing a half-shaded semicircle

I'm looking to use Tikz or something similar to create something like this: except with the area of the section ABD shaded a different color. I've looked up Tikz manuals, and I could only find out ...
6
votes
2answers
58 views

tikz for expanding arc

I am quite new to tikz (esp. its handling of polar coördinates) and would appreciate guidance in the construction of either of the inner two "arcs"/spirals in the capture below. I am comfortable ...
4
votes
1answer
139 views

Graphing Areas of Integration [duplicate]

Is there a better way to plot a graph and shade a particular area? I've pieced what follows below from other answers, but when I try to extend the axes beyond the plot itself, the whole circle becomes ...
10
votes
2answers
942 views

Drawing lines within circle using TikZ

I'm trying to draw some lines within a circle of arbitrary size. I want to start with one vertical line through the centre of the circle and then add further lines like so: I want to be able to ...
0
votes
2answers
171 views

Define a coordinate on a circle

I have the following piece of tikz code: \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[>=latex] \draw (2,2) circle [radius=2pt]; \draw (3,3) circle [radius=2pt];...
2
votes
2answers
742 views

Drawing a circular sector using tikz?

Can someone help me doing this https://en.wikipedia.org/wiki/Circular_sector#/media/File:Circle_arc.svg in TikZ? I would really appreciate any help. I already tried inserting the image into my TeX ...
0
votes
2answers
92 views

how can I draw the radius of an arc using r * (cos (angle) and sin (angle))

i want to draw an arc of circle, and figure out the raduis on the graph, using: raduis\times cos and sin 45\deg when i specify the radius r=1.5cm, i can't get it on the border, anyone can help me, ...
4
votes
1answer
288 views

Make graph where nodes and connecting edges are circles

I am struggling to figure out how to make a graph that connects 12 circular nodes in a circle. I have the code: \begin{tikzpicture} \graph [nodes={draw, circle}, clockwise, radius=3in, nodes, n=12] {...
7
votes
2answers
883 views

How to encircle a character inside a Latex formula?

I would like to encircle one character inside a LaTeX formula. An example is $f_1 = ...$ or $f_k = ...$, where I want to encircle the characters 1 and k. I've found some questions (question 1, ...
1
vote
4answers
311 views

shade the segment of a circle

How do I shade the segment AB in the above diagram so that I have the following? This is the latex code I have so far. \documentclass[]{article} \usepackage[margin=0.5in]{geometry} \usepackage{...
7
votes
3answers
833 views

Arrows on Circle

Hello i'm trying to get the arrows on the circles \documentclass{article} \usepackage{pstricks} \usepackage{pst-all} \begin{document} \begin{pspicture}(-4,-4)(4,4)\grilla \psaxes[linewidth=1.2pt,...
13
votes
4answers
800 views

Draw a Hasse diagram with circles with 3 sectors

Hello everybody, I am try to draw the Hasse diagram (picture above) but I don't know. Thanks for your help. \documentclass[tikz,12pt]{standalone} \begin{document} \begin{tikzpicture} \fill [gray] ...
3
votes
2answers
540 views

How do I fill the coordinate circles?

as written in the header I have a problem defining the fill colour of the circles, drawn between the arrows. Thank you very much in advance:) Here is the code: (Mistake probably in the upper ...
6
votes
3answers
345 views

How to draw intersecting circles that are white and have colored numbers in them using TikZ?

I'm new to latex and I'm trying to get this: After some googling I managed to get this: using this code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{...
23
votes
4answers
1k views

Draw TikZ circles with a specific outer radius

For an archery target I need to draw (and fill) a circle which is e.g. exactly 10cm in diameter including its line. However, when using TikZs circle path command the given radius is the middle of the ...
2
votes
1answer
96 views

Left and right character spaces zero in circled character

MWE \documentclass[12pt]{article} \usepackage{tikz} \usetikzlibrary{positioning} \usepackage{pgflibraryshapes} \newcommand*\circled[1]{% \tikz[baseline=(x.base)] \node[draw,red,circle,thick,fill=...
5
votes
2answers
601 views

Draw a sequence of circles in a node with TiKz

I am trying to draw a figure similar to this one from Warrington, G. S. (2005). Juggling probabilities. The American Mathematical Monthly, 112(2), 105-118, using TiKz package in LaTeX I know how to ...
2
votes
1answer
133 views

How to circle multiple cells? (special case 2) [duplicate]

I want to ask a question about a solution presented here from @GonzaloMedina but I cannot comment. I want to draw the same type of open end and closed rounded rectangular but I want also to draw ...
0
votes
1answer
105 views

How to create a (left/right) “\semicirc”?

I would like to have commands \leftsemicirc, \rightsemicirc in math mode which produce left/right semicircles the size of \circ. The best approximation of a solution I am aware is to use bbding and ...
0
votes
0answers
86 views

non-square picture dimensions for a LaTeXiT circle

Running the following in LaTeXiT preamble: \documentclass[10pt]{article} \usepackage[usenames]{color} %used for font color \usepackage{amssymb} %maths \usepackage{amsmath} %maths \usepackage[utf8]{...
2
votes
1answer
182 views

Shading a circle along its latitude and longitude

I have a circle. I wish to shade it along its latitude and longitude as follows: Along the latitude, say starting from the point A, the color gradient should decrease until the diameter CD. Similarly ...