# Scaling axis in addplot [closed]

When using the following code

\documentclass[border=1cm]{standalone}
\usepackage{tikz}
\usepackage{pgfplots}

\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot[color=blue,only marks,mark size=0.5] file[x index=0, y index=1]{bla.txt};
\end{axis}
\end{tikzpicture}

\end{document}


where bla.text are some coordinates of points in [0,1]x[0,1], axis are not exactly in the good scaling and I haven't a square-box : the y axis is a bit bigger than the x axis.

Is there a command that could fix this?

Many thanks!

## closed as off-topic by Stefan Pinnow, user36296, user13907, Henri Menke, WernerOct 10 '16 at 17:08

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

• Have you tried \begin{axis}[xmin=0, xmax=1, ymin=0, ymax=1]? If the data is not exactly "touching" 0 and 1 on every axis, you can have differences created by the autoscaling. – Rmano Jun 23 '16 at 18:09
• Using the axis equal might help as well. – Tony Mottaz Jun 23 '16 at 18:38
• I'm voting to close this question as off-topic because it was solved in the comments – Stefan Pinnow Oct 10 '16 at 16:15