xscale関数を使用すると軸ラベルが中心からずれる

xscale関数を使用すると軸ラベルが中心からずれる

レポートにプロットを記入していますが、元の垂直の高さは維持しながら、水平幅を広げる必要があります。現在 を使用していますがxscale=1.7、これにより水平軸ラベルがプロット領域の右側に移動します。 の使用も試みましたが、width=0.7\textwidthプロットの高さがとんでもないほど大きくなります。

\documentclass[a4paper,12pt,twoside]{report}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{pgfplots}

\begin{document}
\begin{figure}[h]% change in entropy
\center
\begin{tikzpicture}
\begin{axis}[xscale=1.7, xlabel=No. of Elements, ystep=1, xstep=2, xmin=0, xmax=16, ymin=0, ymax=3, ylabel= $\Delta S_{mix} (R)$]
\addplot+[color=black,smooth,mark=none]file{Data/Entropy_of_Mixing.txt};
\draw(axis cs: 2,0)--(axis cs: 2,1);
\draw(axis cs: 5,0)--(axis cs: 5,1.8);
\draw(axis cs: 13,0)--(axis cs: 13,2.8);
\node [text width= 1.5cm, text centered](a) at(axis cs: 1,0.75){Low Entropy};
\node [text width= 1.5cm, text centered](a) at(axis cs: 3.6,0.75){Medium Entropy};
\node [text width= 1.5cm, text centered](a) at(axis cs: 9,0.75){High Entropy};
\end{axis}
\end{tikzpicture}
\caption{Change in mixing entropy with number of principal elements}
\label{EntropyGraph}
\end{figure}

\end{document

ここに画像の説明を入力してください

答え1

xscale=1.7と置換するx post scale=1.7

関連情報