BambOo
  • France
  • Member for 3 years, 5 months
Stats
339
reputation
24k
reached
14
answers
0
questions
Loading…
About

Engineer, researcher, problem solver when possible :)

Avatar made with the pgpflots package.

\documentclass[tikz,margin=3mm]{standalone}
\usepackage{pgfplots}
\usepgfplotslibrary{colormaps}
\usetikzlibrary{arrows.meta}
\pgfplotsset{
    compat=1.16,
    drawarrows/.style={
        Circle-,thick,point meta={\pgfkeysvalueof{/pgfplots/samples}-\coordindex},
        quiver={u=-x,v=-y,colored=mapped color},
        },
    customaxis/.style={
        domain=9*pi/2:pi/2,
        samples=1000,
        width=5cm,
        height=5cm,
        scale only axis,
        clip=false,
        hide axis,
        colormap/hsv,
    },
}
\begin{document}
\begin{tikzpicture}
    \begin{axis}[customaxis]
        \addplot[drawarrows] ({cos(deg(x))},{x^2});
    \end{axis}
\end{tikzpicture}
\end{document}
This user doesn’t have any gold badges yet.
1
silver badge
7
bronze badges

Top tags (33)

Score 5
Posts 3
Posts % 21
Score 4
Posts 4
Score 4
Posts 3
Score 4
Posts 3
Score 4
Posts 1
Score 4
Posts 1

Top posts (14)

View all questions and answers