Stack Exchange network consists of 180 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn moreEngineer, 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}
Your privacy
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.