Hi,

I have 2 problems with the following code:

1: I want to change the xticklabels number format to "fixed"  so I can
read in the output "0.001"but I can“t get it work with pgf version
2.10 and pgfplots 1.5.1.

2: I would like to have y ticks and labels for 3. Can I achieve this
without changing the order of the "addplot" commands?


Thanks in advance,
Ute





\documentclass{article}

\usepackage{pgfplots}

\pgfplotsset{compat=newest}

% \pgfkeys{/pgf/number format/.cd,fixed,precision=2}


\pgfplotsset{x tick label style={
    /pgf/number format/fixed zerofill}}% this modifies the `every x
tick label' style

\begin{document}


\begin{tikzpicture}
  \begin{axis}[
    ytick=data,]
    \addplot+[ ]coordinates {(0.001,1) (0.005,2)};
    \addplot+[ ]coordinates {(0.002,1) (0.01,2)(0.002,3)};
  \end{axis}
\end{tikzpicture}


\end{document}

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to