In the axis options, try something like
y tick label style={/pgf/number format/.cd,fixed,precision=3}
The various options are documented in the manual.
On Sun, Dec 18, 2011 at 4:08 PM, Xavier Scheuer <[email protected]> wrote:
> Hi again,
>
> I use
>
> \begin{tikzpicture}
> \begin{axis}[xmin=0,ymin=0,xlabel={MyXLabel},ylabel={MyYLabel}]
> \addplot table[x=myX,y=myY]{datafile.txt}
> \end{axis}
> \end{tikzpicture}
>
> to print a graph of experimental data.
>
> Unfortunately I see that for values < 0.1, the y tick is printed in
> the form "8 \cdot 10{-2}", "6 \cdot 10{-2}", etc. And these values
> are in fact colliding with the y label (that is vertical, at cs:0.5).
> I do not like it and I would prefer to have "0.08", "0.06" instead.
>
> Is it possible (I hope it is)? And how can I do that?
>
> Thanks in advance.
>
> Cheers,
> Xavier
>
------------------------------------------------------------------------------
Learn Windows Azure Live! Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Pgfplots-features mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pgfplots-features