Graphics, Figures & Tables ⇒ draw irregular circle in tikz
- Mohsen Avaji
- Posts: 16
- Joined: Mon Aug 27, 2012 12:06 am
draw irregular circle in tikz
How to draw figure of attach file in LaTeX by Tikz?
Thank you.
Mohsen Avaji.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
draw irregular circle in tikz
Code: Select all
\documentclass[tikz]{standalone}
\usetikzlibrary{decorations.pathmorphing}
\begin{document}
\begin{tikzpicture}
\fill (0,0) circle [radius=1pt] node [below right] {$z_0$};
\draw [blue!75!black, very thick, decorate, decoration={random steps}] (0,0) circle [radius=3cm] ;
\draw[red!50!black, decorate, decoration={bumps, segment length=2cm, amplitude=2pt}] (0,0) -- (30:3);
\draw[green!50!black, decorate, decoration={bumps, segment length=2cm, amplitude=2pt}] (0,0) -- (150:3);
\draw[blue!50!black, decorate, decoration={bumps, segment length=2cm, amplitude=2pt}] (0,0) -- (270:3);
\end{tikzpicture}
\end{document}
Rainer
- Mohsen Avaji
- Posts: 16
- Joined: Mon Aug 27, 2012 12:06 am
draw irregular circle in tikz
Thank you for your help and suggestion, in visual tikz I found some beautiful picture
but non of them they were not similar to the attached figure.
Is there another way to draw this figure?
Best wishes for you.
Mohsen Avaji.
draw irregular circle in tikz
does this mean you did not try the code I provided?Mohsen Avaji wrote: in visual tikz I found some beautiful picture
but non of them they were not similar to the attached figure.
Yes, it's not matching your figure 100%, but I fail to see a point in trying to achieve that, unless this `irregular' is something else than `freehand' and follows some rules---rules, I have yet to see.
And, of course, feel free to tweak some of the parameters like `amplitude', `segment length', and the decoration itself.
Have a look into the

BTW: `KR' stands for `Kind Regards' (I must confess I'm lazy at times;-)
KR
Rainer
- Mohsen Avaji
- Posts: 16
- Joined: Mon Aug 27, 2012 12:06 am
draw irregular circle in tikz
Thank your for your reply and help.
Before I ask my question on this site, I had seen Tikz-manual.
I saw your code and checked it, but it wasn't what I wanted.
I found the answer of my question.
Thanks again.
Mohsen Avaji.
- Mohsen Avaji
- Posts: 16
- Joined: Mon Aug 27, 2012 12:06 am
draw irregular circle in tikz
In the following code, how can thickness the circle and its radius?
Thank you.
Code: Select all
\begin{tikzpicture}
\begin{scope}[>=latex]
\draw (2,0.8) node{$a(z-z_{0})F(z)$};
\draw[->] (1.2,0.2) to [out=30, in=150] (2.2,0.2) ;
\draw[clip] plot[smooth cycle,variable=\t,samples at={0,45,...,315}] (\t:{1*(1+0.1*rnd)});
\foreach \X [count=\Y starting from 0] in {red,blue,green!70!black}
{\draw[\X] plot[smooth,variable=\t,samples at={0,0.25,...,1.75}]
({15+6*(rnd)+120*\Y}:\t);
}
\end{scope}
\end{tikzpicture}
Mohsen Avaji.
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
draw irregular circle in tikz
line width
option, such as:Code: Select all
\begin{scope}[>=latex, line width=1pt]
draw irregular circle in tikz
{scope}
environment completely and apply its options directly to the {tikzpicture}
environment.Instead of `line width=...', you could also use any of the predefined line widths, such as `thick', 'very thick', and the like.
If you want to have different line widths for the circle and its radii, e.g., to subdue the radii, you could put such a line width option into the options for \draw, like
\draw[very thin, \X]
KR
Rainer