سلام
چرا برای شکل هایی که با بسته tikzpicture رسم میکنیم لیبل ایجاد نمیشود؟ و چگونه میتوان کپشن را در موقعیت درست خود ایجاد کرد؟
\documentclass[11pt,amssym]{article}
\setlength{\textwidth}{16cm}
\setlength{\textheight}{20.5cm}
\setlength{\oddsidemargin}{0cm}
\setlength{\headsep}{1cm}
\setlength{\footskip}{2cm}
\renewcommand{\baselinestretch}{1.3}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{pstricks,pst-plot}
\usepackage{amsmath}
\usepackage{latexsym}
\usepackage{wrapfig}
\newtheorem{pthm}{}[section]
\newenvironment{thm}{\vspace{-1.4em}\begin{pthm}}{\end{pthm}}
\usepackage{amsmath} % for \dfrac
\usepackage{physics,siunitx}
\usepackage{tikz,pgfplots}
\usepackage{etoolbox} % ifthen
\usepackage[outline]{contour} % glow around text
\contourlength{1.1pt}
\usetikzlibrary{angles,quotes} % for pic (angle labels)
\usetikzlibrary{arrows.meta}
\usetikzlibrary{calc}
\usetikzlibrary{decorations.markings}
\usetikzlibrary{bending} % for arrow head angle
\tikzset{>=latex} % for LaTeX arrow head
\usepackage{xcolor}
\pgfplotsset{compat=newest}
\colorlet{xcol}{blue!60!black}
\colorlet{myred}{red!80!black}
\colorlet{myblue}{blue!80!black}
\colorlet{mygreen}{green!40!black}
\colorlet{mypurple}{red!50!blue!90!black!80}
\colorlet{mydarkred}{myred!80!black}
\colorlet{mydarkblue}{myblue!80!black}
\tikzstyle{xline}=[xcol,thick,smooth]
\tikzstyle{width}=[{Latex[length=5,width=3]}-{Latex[length=5,width=3]},thick]
\tikzstyle{mydashed}=[dash pattern=on 1.7pt off 1.7pt]
\tikzset{
traj/.style 2 args={xline,postaction={decorate},decoration={markings,
mark=at position #1 with {\arrow{<}},
mark=at position #2 with {\arrow{<}}}
}
}
\def\tick#1#2{\draw[thick] (#1)++(#2:0.12) --++ (#2-180:0.24)}
\begin{document}
\begin{center}
\begin{tikzpicture}\label{figure1}
\def\xmax{2.0}
\def\A{1.7}
\def\a{0.85}
\def\ang{60}
\coordinate (O) at (0,0);
\coordinate (X) at (\A,0);
\coordinate (R) at (\ang:\A);
\coordinate (R') at (0:\a);
\draw[->,thick] (-\xmax,0) -- (\xmax+0.1,0) node[right=-1] {$x$};
\draw[->,thick] (0,-\xmax) -- (0,\xmax+0.1) node[above=-1] {$y$};
% (\ang:\A) arc(\ang:\ang-360:\A);
\draw[traj={0.40}{0.90}] (0,0) circle(\a);
\draw[traj={0.40}{0.90}] (0,0) circle(0.75*\A);
\draw[traj={0.40}{0.90}] (0,0) circle(0.25*\A);
%node[left=-1,scale=1] {$A$};
%node[below right=-2] {$(x_1,0)$};
%\draw[->,mygreen!80!black] (\ang-15:1.1*\A) arc(\ang-15:\ang-40:0.9*\A);
%\draw[->,mygreen!80!black] (-18:1.2*\a) arc(-18:-60:\a);
\end{tikzpicture}\caption{A center}
\end{center}
\end{document}