答案1
原始绘图的所有功劳都归功于@ferahfeza,我只是添加了intersections
库部分,以绘制三个完全平行的橙色矢量。
\documentclass[border=3.141592mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{backgrounds,intersections}
\begin{document}
\tikzset{
mybackground/.style={
background rectangle/.style={fill=black},
background grid/.style={draw=gray!80, step=10mm, thin},
show background rectangle,
show background grid % after a filled background rectangle
}
}
\begin{tikzpicture}[mybackground,>=stealth,thick]
\draw [red,very thick,->](0,0) -- (8.5,0) node [above]{$x$};
\draw [red,very thick,->](0,0) -- (0,6.5) node [right]{$t$};
\foreach \x in {1,2,3}
{
\draw [cyan,->,name path global = {T\x}] (2*\x,0) --++ (0,6)node [above left]{$t^\prime$};
\path [name path global = {P\x}] (0,2*\x) coordinate (R\x) --++ (-30:3*\x);
\path [name intersections={of={P\x} and {T\x}, by={E\x}}];
\draw [cyan,->] (2*\x,0) --++ (1.2,0)node [below]{$x^\prime$};
\draw [green,->](2*\x,5) --++ (0.8,0)node[above]{$V$};
\draw[orange,->] (R\x) node[below left]{$R_{\x}$} -- (E\x) node[right]{$E_{\x}$};
\filldraw[orange] (E\x) circle (1pt)
(R\x) circle (1pt);
}
\end{tikzpicture}
\end{document}