In the submitted code, I want captions of the figures be in the below of the circles and refer to them in the in text but but they are not under the circles, what should I do?
Code: Select all
[latex]\documentclass[11pt,a4paper,twoside]{book}
\usepackage{amsmath,amssymb}%
\usepackage{caption,graphicx,subfigure}
\usepackage[newparttoc]{titlesec}
\usepackage{mathtools}
\usepackage{xcolor}
\definecolor{deepskyblue}{rgb}{0.0, 0.75, 1.0}
\usepackage{tikz-cd}
\usepackage{tikz}
\counterwithin{figure}{chapter}
\begin{document}
\chapter{Analytic function}
\setcounter{section}{2}
\section{Local behavior}
\begin{figure}[!h]
\centering
\renewcommand{\thesubfigure}{(a)}%\hspace{2cm}
\subfigure[{}]
{
\begin{tikzpicture}[line width=0.9pt]
\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}\label{Figure3.2a}
}
\renewcommand{\thesubfigure}{(b)}%\hspace{2cm}
\subfigure[{}]
{
\begin{tikzpicture}
\begin{scope}[>=latex]
\draw (0,0) circle [radius=1cm];
\draw[draw=red,thick] (0,0)--(1,0);
\draw[draw=blue,thick] (0,0)--({cos(120)},{sin(120)});
\draw[draw=green,thick] (0,0)--({cos(240)},{sin(240)});
\fill (0,0) circle (1.3pt);
\draw (1,0) node[right]{$t$};
\draw (2,0.8) node{$z^{n}+f(z_{0})$};
\draw[->,line width=0.9pt] (1.2,0.2) to [out=30, in=150] (2.2,0.2) ;
\end{scope}
\end{tikzpicture}
}
\renewcommand{\thesubfigure}{(c)}
\subfigure[]
{
\begin{tikzpicture}
\draw (2,0) circle [radius=0.7cm];
\draw[draw=red,thick] (2,0)--(2.7,0);%plum
\fill (2,0) circle (1.3pt);
\draw (2.3,0.2) node{$t^{n}$};
\draw[scale=0.5] (4,0) node[below]{$f(z_{0})$};
\end{tikzpicture}\label{Figure3.2c}
}
\caption{Local behavior of an analytic function.}\label{fig3.2}
\end{figure}
Figure \ref{Figure3.2a}
\end{document}[/latex]