电压箭头相对于元件(在本例中为电阻器)的位置错误。
\begin{figure}[!h]
\centering
\ctikzset { bipoles/length=1cm}
\begin{circuitikz} [european ,scale=0.65]
\draw
(5,0) to[short]
(0,0) to[V = $V_{supply}$]
(0,3) to[generic=${Shunt}$]
(5,3);
\draw
(5,0) to[R,mirror,v>=$v_{o}$,i<=$i_o$] (5,3);
\draw (6,0) to[R,mirror,v>=$v_{o}$,i<=$i_o$] (8,0);
\end{circuitikz}
\label{fig:OI_model}
\caption{The Output Impedance Model for SCCs. }
\end{figure}
查看结果:
答案1
这是你想要的吗?
\documentclass{article}
\usepackage{circuitikz}
\begin{document}
\begin{figure}[!h]
\centering
\ctikzset{bipoles/length=1cm}
\begin{circuitikz} [european]
\draw
(5,0) to[short]
(0,0) to[V = $V_{supply}$]
(0,3) to[generic=${Shunt}$]
(5,3);
\draw
(5,0) to[R,v^<=$v_{o}$,i<=$i_o$] (5,3);
\draw (6,0) to[R,v^<=$v_{o}$,i<=$i_o$] (8,0);
\end{circuitikz}
\label{fig:OI_model}
\caption{The Output Impedance Model for SCCs. }
\end{figure}
\end{document}
我已删除mirror
(不起作用)并使用了v^
它。