Edit and compile if you like:
% Author: Izaak Neutelings (Februari, 2020)\documentclass[border=3pt,tikz]{standalone}\usepackage{amsmath} % for \dfrac\usepackage{bm}\usepackage{physics}\usepackage{tikz,pgfplots}\usepackage[outline]{contour} % glow around text\usetikzlibrary{angles,quotes} % for pic (angle labels)\usetikzlibrary{decorations.markings}\usetikzlibrary{calc}\tikzset{>=latex} % for LaTeX arrow head\contourlength{1.4pt}\usepackage{xcolor}\colorlet{Ecol}{orange!90!black}\colorlet{EcolFL}{orange!90!black}\colorlet{EFcol}{red!60!black}\colorlet{Bcol}{violet!90}\colorlet{BcolFL}{violet!90}\colorlet{veccol}{green!45!black}\colorlet{pluscol}{red!60!black}\colorlet{minuscol}{blue!60!black}\tikzstyle{anode}=[top color=red!20,bottom color=red!50,shading angle=20]\tikzstyle{cathode}=[top color=blue!20,bottom color=blue!40,shading angle=20]\tikzstyle{charge+}=[very thin,top color=red!80,bottom color=red!80!black,shading angle=-5,circle,inner sep=0.2,draw=black]\tikzstyle{charge-}=[very thin,top color=blue!50,bottom color=blue!70!white!90!black,shading angle=10,circle,inner sep=0.2,draw=black]\tikzstyle{vector}=[->,thick,veccol]\tikzstyle{normalvec}=[->,thick,blue!80!black!80]\tikzstyle{Cstyle}=[very thick,orange!90!black]\tikzstyle{EField}=[->,thick,Ecol]\tikzstyle{EField dashed}=[dashed,Ecol,line width=0.6]\tikzset{EFieldLine/.style={thick,EcolFL,decoration={markings,mark=at position #1 with {\arrow{latex}}},postaction={decorate}},EFieldLine/.default=0.5,pics/Bin/.style={code={\def\R{0.12}\draw[pic actions,#1,line width=0.6] % ,thick
Click to download: velocity_selector.tex • velocity_selector.pdf
Open in Overleaf: velocity_selector.tex