绘制舞蹈图表的最佳软件包

绘制舞蹈图表的最佳软件包

我想绘制舞步图。类似于

这
(来源:社区.ca.com

我想知道是否存在专用包,或者我唯一的选择是使用“普通”绘图工具。也许是类似的东西Tikz

有人有过这样的经历吗?你会推荐什么?

答案1

我会使用 TikZ;这里有一些初始代码,可以进行很大的改进,但其想法是定义一个基本形状(对于右脚,另一个,对于左脚,是一个简单的反射),然后使用节点将形状放置在所需的位置似乎很简单:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{graphicx}

\newcommand\rifoot{%
\begin{tikzpicture}[scale=0.4]
  \path[fill=black] (0,0) -- (3,0) -- (2,-5) -- (0,-5) -- cycle;
  \fill (1.5,0) circle (1.5); 
  \fill (1,-5.5) circle (1); 
  \fill[white] (0,-5) rectangle (2,-5.5); 
\end{tikzpicture}}

\newcommand\lefoot{\scalebox{-1}[1]{\rifoot}}

\begin{document}

\begin{tikzpicture}
% the feet
\node (l1) at (0,0) {\lefoot};
\node (r1) at (2,-2) {\rifoot};
\node (l2) at (0,-5) {\lefoot};
\node (r2) at (2,-7) {\rifoot};
\node[rotate=-80] (l3) at (7,1) {\lefoot};
\node[rotate=-120] (r3) at (5.5,-2) {\rifoot};
\node[rotate=-120]  (r4) at (5.5,-6) {\rifoot};

% the arrows
\draw[ultra thick,->,dashed] (l1.north) to[out=90,in=135] (l3);
\draw[ultra thick,->] ([xshift=-1cm,yshift=0.5cm]r3.east) -- +(0,-2);

% the labels
\node[font=\LARGE\sffamily\bfseries] at ([xshift=-1cm]l2.west) {1.};
\node[font=\LARGE\sffamily\bfseries] at ([xshift=-1cm]l1.west) {2.};
\node[font=\LARGE\sffamily\bfseries] at ([xshift=3.5cm,yshift=2cm]r3.east) {3.};
\node[font=\LARGE\sffamily\bfseries] at ([xshift=3.5cm,yshift=1cm]r4.east) {4.};
\end{tikzpicture}

\end{document}

在此处输入图片描述

保罗塞雷达为我提供了一些更美观的脚部形状,现在整体外观有所改善:

\documentclass{article}
\usepackage{tikz}
\usepackage{graphicx}

\newcommand\rifoot{\includegraphics[scale=0.7]{rifoot}}
\newcommand\lefoot{\includegraphics[scale=0.7]{lefoot}}

\begin{document}

\begin{tikzpicture}
% the feet
\node (l1) at (0,0) {\lefoot};
\node (r1) at (0.7,-0.7) {\rifoot};
\node (l2) at (0,-2) {\lefoot};
\node (r2) at (0.7,-2.7) {\rifoot};
\node[rotate=-60] (l3) at (2.8,-0) {\lefoot};
\node[rotate=-120] (r3) at (2,-0.8) {\rifoot};
\node[rotate=-120]  (r4) at (2,-2.5) {\rifoot};

% the arrows
\draw[ultra thick,->,dashed] (l1.north) to[out=90,in=90] (l3.west);
\draw[ultra thick,->] ([xshift=-10pt,yshift=0pt]r3.east) -- +(0,-1);

% the labels
\node[font=\LARGE\sffamily\bfseries] at ([xshift=-1cm]l2.west) {1.};
\node[font=\LARGE\sffamily\bfseries] at ([xshift=-1cm]l1.west) {2.};
\node[font=\LARGE\sffamily\bfseries] at ([xshift=1.7cm,yshift=0.5cm]r3.east) {3.};
\node[font=\LARGE\sffamily\bfseries] at ([xshift=1.7cm]r4.east) {4.};
\end{tikzpicture}

\end{document}

在此处输入图片描述

以下是 PNG 图像:

在此处输入图片描述

在此处输入图片描述

相关内容