
二重軸プロットがある場合、修正に問題がありますy ticks
。2 番目のプロットの目盛りが最初のプロットのグリッドと一致しません。2 番目のプロットのスケールを変更して、両方のプロットで 1 つのグリッドのみが機能するようにすることは可能ですか?
2 番目の環境でのコードは次のようになりますaxis
。
\begin{axis}[
scale only axis, % The height and width argument only apply to the actual axis
height=6cm,
width=12cm,
yticklabel style={/pgf/number format/fixed,/pgf/number format/precision=0, /pgf/number format/fixed zerofill=true},
scaled y ticks=true,
axis y line*=right,
axis x line=none,
ylabel=Antenna Impedance ($\Omega$),
ylabel near ticks
]
\end{axis}
ありがとう!