I'm trying to draw tangent lines to a rotated ellipse at a small interval, but I'm not sure what the best way to do this. I could just get the slopes from Wolfram Alpha, but I'd rather not hardcode the lines in.
My code:
\documentclass [10pt] {article}
\usepackage{pgfplots}
\usetikzlibrary{intersections, calc}
\usepackage{tikz}
\begin{document}
\begin{center}
\begin{tikzpicture}[scale=0.75]
\draw[step=1cm,gray,very thin,dashed] (-2.9,-2.9) grid (2.9,2.9);
\draw[rotate around={45:(0,0)}][thick] (0,0) ellipse (2.449cm and 1.414cm);
\draw[thick,black,<->](0,-2.9)--(0,2.9);
\draw[thick,black,<->](-2.9,0)--(2.9,0);
\end{tikzpicture}
\end{center}
\end{document}
So right now it's just a regular ellipse:
but I want something similar to this:
Although with a lot more lines, at many more points along the ellipse. How can I go about doing this?




tangyup ;).\pgfdeclaredecoration{tangy}{}{}is creating a new decoration. The documentation for this is in the TeX manual. I actually found it by searching the manual fortangentusing my PDF viewer's find facility. See section 98 'Decorations' on page 996 of the current manual. – cfr Oct 17 '15 at 23:44tangentit sounded as if it should work pretty easily - and happily it seemed to do so! – cfr Oct 18 '15 at 01:24tikzmanual? – Chris Chudzicki Oct 18 '15 at 01:51