Hello Manuel,
Thanks for your interest in pgfplots! I will look into your question next
week (I won't have enough time before Tuesday, I fear).
In the meantime, this post might be of interest to you:
http://tex.stackexchange.com/questions/22516/is-is-possible-to-rotate-text-using-nodes-near-coords
Best regards
Christian
2011/7/14 Manuel Kuehner <manuel.kueh...@arcor.de>
> Hello all,
> I want to make a bar plot with the y values at the end of each bar.
> There is a example in the documentation. I want to rotate the labels
> using "nodes near coords align" but that dosn't work.
>
> %---------------------------
> %% Version 1 (works)
> nodes near coords=\rotatebox{90}{\pgfmathprintnumber\pgfplotspointmeta},
> %---------------------------
> %% Version 2 (doesn't works)
> every node near coord/.append style={font=\footnotesize},
> nodes near coords align={rotate=90}
> %---------------------------
>
> \begin{tikzpicture}
> \begin{axis}[
> ylabel=$y$-Wert,
> xlabel=$x$-Wert,
> enlargelimits=0.15,
> legend style={at={(0.5,-0.2)},
> anchor=north,legend columns=-1},
> ybar=5pt,% configures `bar shift'
> bar width=9pt,
> nodes near coords,
> point meta=y * 1, % the displayed number
> %% Version 1
> nodes near coords=\rotatebox{90}{\pgfmathprintnumber\pgfplotspointmeta},
> %% Version 2
> %every node near coord/.append style={font=\footnotesize},
> %nodes near coords align={rotate=90}
> ]
> \addplot
> coordinates {(1,12) (2,23)
> (3,10) (5,11) (6,13)};
> \addplot
> coordinates {(1,11.4) (2,19.9)
> (3,11.2) (5,9.8) (6,12.4)};
> \legend{Gruppe A, Gruppe B}
> \end{axis}
> \end{tikzpicture}
>
> Maybe you can help me.
>
> Best regards
> Manuel
>
>
> ------------------------------------------------------------------------------
> AppSumo Presents a FREE Video for the SourceForge Community by Eric
> Ries, the creator of the Lean Startup Methodology on "Lean Startup
> Secrets Revealed." This video shows you how to validate your ideas,
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> _______________________________________________
> Pgfplots-features mailing list
> Pgfplots-features@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pgfplots-features
>
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features