riapro questa conversazione poichè non capisco ancora una cosa. Posto il codice:
`
\documentclass[a4paper,11pt,openright,titlepage]{book}
\usepackage{pgfplots}
\usepgflibrary{arrows}
\pgfplotsset{
compat=1.11,
every axis/.append style={font=\small},
legend style={font=\footnotesize},
tick label style={font=\small },
label style={font=\small},
/pgf/number format/.cd,
use comma,
fixed,
precision=2,
}
\begin{document}
\begin{figure}
\centering
{\begin{tikzpicture}
\begin{axis}
[axis x line=bottom,
axis y line=left,
xmin=0,
xtick={0,0.01,0.02,0.03,0.04,0.05,0.06},
ymin=0,
minor tick num =1,
grid=both,
ylabel style={align=center}, ylabel={lunghezza (m)},
xlabel=tempo (s),
legend style={cells={anchor=east},
legend pos=outer north east,
}, enlargelimits=false]
\addplot [mark repeat=2, very thick, red]
coordinates {
( 0 , 0.00E+00 )
( 0.001 , 0.00E+00 )
( 0.001 , 1.00E+00 )
( 0.001 , 2.00E+00 )
( 0.002 , 2.00E+00 )
( 0.002 , 3.00E+00 )
( 0.003 , 3.00E+00 )
( 0.004 , 3.00E+00 )
( 0.004 , 4.00E+00 )
( 0.004 , 5.00E+00 )
( 0.005 , 5.00E+00 )
( 0.006 , 5.00E+00 )
( 0.006 , 6.00E+00 )
( 0.006 , 7.00E+00 )
( 0.007 , 7.00E+00 )
( 0.008 , 7.00E+00 )
( 0.008 , 8.00E+00 )
( 0.009 , 8.00E+00 )
( 0.01 , 8.00E+00 )
( 0.01 , 9.00E+00 )
( 0.01 , 1.00E+01 )
( 0.011 , 1.00E+01 )
( 0.011 , 1.10E+01 )
( 0.012 , 1.10E+01 )
( 0.012 , 1.20E+01 )
( 0.013 , 1.20E+01 )
( 0.013 , 1.30E+01 )
( 0.014 , 1.30E+01 )
( 0.015 , 1.30E+01 )
( 0.016 , 1.30E+01 )
( 0.016 , 1.40E+01 )
( 0.017 , 1.40E+01 )
( 0.017 , 1.50E+01 )
( 0.018 , 1.50E+01 )
( 0.018 , 1.60E+01 )
( 0.019 , 1.60E+01 )
( 0.02 , 1.60E+01 )
( 0.02 , 1.70E+01 )
( 0.021 , 1.70E+01 )
( 0.021 , 1.80E+01 )
( 0.022 , 1.80E+01 )
( 0.022 , 1.90E+01 )
( 0.023 , 1.90E+01 )
( 0.024 , 1.90E+01 )
( 0.025 , 1.90E+01 )
( 0.025 , 2.00E+01 )
( 0.025 , 2.10E+01 )
( 0.026 , 2.10E+01 )
( 0.027 , 2.10E+01 )
( 0.028 , 2.10E+01 )
( 0.028 , 2.20E+01 )
( 0.028 , 2.30E+01 )
( 0.029 , 2.30E+01 )
( 0.03 , 2.30E+01 )
( 0.031 , 2.30E+01 )
( 0.032 , 2.30E+01 )
( 0.032 , 2.40E+01 )
( 0.033 , 2.40E+01 )
( 0.033 , 2.50E+01 )
( 0.033 , 2.60E+01 )
( 0.034 , 2.60E+01 )
( 0.035 , 2.60E+01 )
( 0.035 , 2.70E+01 )
( 0.036 , 2.70E+01 )
( 0.036 , 2.80E+01 )
( 0.037 , 2.80E+01 )
( 0.038 , 2.80E+01 )
( 0.039 , 2.80E+01 )
( 0.039 , 2.90E+01 )
( 0.04 , 2.90E+01 )
( 0.041 , 2.90E+01 )
( 0.041 , 3.00E+01 )
( 0.042 , 3.00E+01 )
( 0.043 , 3.00E+01 )
( 0.044 , 3.00E+01 )
( 0.044 , 3.10E+01 )
( 0.045 , 3.10E+01 )
( 0.046 , 3.10E+01 )
( 0.046 , 3.20E+01 )
( 0.046 , 3.30E+01 )
( 0.047 , 3.30E+01 )
( 0.048 , 3.30E+01 )
( 0.049 , 3.30E+01 )
( 0.049 , 3.40E+01 )
( 0.05 , 3.40E+01 )
( 0.051 , 3.40E+01 )
( 0.052 , 3.40E+01 )
( 0.052 , 3.50E+01 )
( 0.053 , 3.50E+01 )
( 0.053 , 3.60E+01 )
( 0.054 , 3.60E+01 )
( 0.055 , 3.60E+01 )
( 0.055 , 3.70E+01 )
( 0.056 , 3.70E+01 )
( 0.056 , 3.80E+01 )
( 0.057 , 3.80E+01 )
( 0.057 , 3.90E+01 )
( 0.058 , 3.90E+01 )
( 0.059 , 3.90E+01 )
( 0.059 , 4.00E+01 )
( 0.06 , 4.00E+01 )
( 0.061 , 4.00E+01 )
( 0.062 , 4.00E+01 )
( 0.062 , 4.10E+01 )
};
\end{axis}
\end{tikzpicture}}
\end{figure}
\end{document}
`
Non riesco a capire come mai i numeri nell’asse delle ascisse vengano visualizzati come 1*10^-2 piuttosto che 0.01.
grazie ancora