# Example: Airfoil profiles

Published 2007-01-16 | Author: Kjell Magne Fauske

A few airfoil profiles from the extensive UIUC Airfoil Coordinates Database. The data is provided in a convenient x,y coordinate format suitable for plotting using PGF/TikZ's plot file construct.

Note that the data is released under the GNU General Public License. To use the data files with PGF/TikZ, you have to comment out the lines not containing coordinates.

Do you have a question regarding this example, TikZ or LaTeX in general? Just ask in the LaTeX Forum.
Oder frag auf Deutsch auf TeXwelt.de. En français: TeXnique.fr.

% Airfoil profiles from the UIUC Airfoil Coordinates Database
% Data is released under the GNU General Public Licence. See
% http://www.ae.uiuc.edu/m-selig/pd/gpl.html for more details.
\documentclass{article}
\usepackage{tikz}
\begin{document}

\newcounter{y}
\setcounter{y}{0}

\begin{tikzpicture}
\foreach \lbl / \fn in {EPPLER 625/e625.dat,
WORTMANN FX 2/fx2.dat,
EPPLER 664 (EXTENDED)/e664ex.dat,
CLARK Y/clarcy.dat,
Eiffel 10 (Wright)/eiffel10.dat,
FX 69-PR-281/fx69pr281.dat,
NACA Munk M-4 airfoil/m4.dat}{
% Some profiles look better when using plot[smooth]
\draw[yshift=-\arabic{y}cm,scale=3] node[left=0.5cm] {\lbl}
plot file{data/\fn} -- cycle;
\stepcounter{y}
}
\end{tikzpicture}

\end{document}