When using the following code


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


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, Werner Oct 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
  • 4
    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

Browse other questions tagged or ask your own question.