BambOo
  • France
  • Member for 4 years, 1 month
Stats
8,279
reputation
582
reached
0
answers
3
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.
4
silver badges
5
bronze badges

Top tags (2)

Score 0
Posts 2
Score 0
Posts 1

Top posts (3)