任何线索如何在圆圈内画一个圆圈并在圆圈内放置图像

任何线索如何在圆圈内画一个圆圈并在圆圈内放置图像

有人知道如何在 LaTeX 中制作这个吗?有两个圆圈,然后圆圈里有一辆汽车。我正在解决我正在制作的东西的一些力学问题。任何帮助都非常感谢。

车

答案1

使用马查(没有 MWE 的用户):

\documentclass[12pt]{article}
\usepackage{tikz}
\usepackage{fontawesome}
\usepackage{graphicx}

\begin{document}

\tikzset{every picture/.style={line width=0.75pt}} 
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
\draw  (176,209.95) -- (427,209.95)(298.4,86) -- (298.4,337) (420,204.95) -- (427,209.95) -- (420,214.95) (293.4,93) -- (298.4,86) -- (303.4,93)  ;
\draw  [line width=2.25]  (202.9,209.95) .. controls (202.9,157.21) and (245.66,114.45) .. (298.4,114.45) .. controls (351.14,114.45) and (393.9,157.21) .. (393.9,209.95) .. controls (393.9,262.69) and (351.14,305.45) .. (298.4,305.45) .. controls (245.66,305.45) and (202.9,262.69) .. (202.9,209.95) -- cycle ;
\draw  [dash pattern={on 6.75pt off 4.5pt}][line width=2.25]  (226.13,209.95) .. controls (226.13,170.03) and (258.49,137.68) .. (298.4,137.68) .. controls (338.32,137.68) and (370.68,170.03) .. (370.68,209.95) .. controls (370.68,249.87) and (338.32,282.23) .. (298.4,282.23) .. controls (258.49,282.23) and (226.13,249.87) .. (226.13,209.95) -- cycle ;
\draw [line width=1.5]    (298.4,209.95) -- (251.18,257.17) ;
\draw [shift={(248.35,260)}, rotate = 315] [fill={rgb, 255:red, 0; green, 0; blue, 0 }  ][line width=0.08]  [draw opacity=0] (15.6,-3.9) -- (0,0) -- (15.6,3.9) -- cycle    ;
\draw (266.38,248.38) node [anchor=north west][inner sep=0.75pt]    {$R$};
\draw (234,149) node [anchor=north west][inner sep=0.75pt]   [align=left] {\rotatebox{-25}{\faCar}};
\draw (425,216) node [anchor=north west][inner sep=0.75pt]  [font=\Large]  {$x$};
\draw (280,75) node [anchor=north west][inner sep=0.75pt]  [font=\Large]  {$y$};


\end{tikzpicture}


\end{document} 

在此处输入图片描述

答案2

用纯TikZ

\documentclass[tikz,border=2mm]{standalone}
\usetikzlibrary{arrows.meta}
\usepackage{fontawesome}

\begin{document}
\begin{tikzpicture}
        
\draw[-LaTeX] (-3,0)--(3,0) node[right] {$x$}; 
\draw[-LaTeX] (0,-3)--(0,3) node[above] {$y$};

\draw[thick] circle (2.5cm); 
\draw[thick, dashed] circle (2cm);

\draw[-LaTeX] (0,0)--node[below]{$R$} (210:2cm);
\node[rotate=-45] at (135:2) {\faCar};

\end{tikzpicture}
\end{document}

在此处输入图片描述

相关内容