Dear all,
        I have some data I want to plot as a waterfall plot by using the
shift={()} option in \addplot. Unfortunately this seems  to break the
legend entries/legend box in general.

Here's a minimal example
----------------------------
\documentclass{article}
\usepackage{pgfplots}

\begin{document}
\begin{tikzpicture}
  \begin{axis}
    \addplot [samples=50] {x^2};
    \addplot [shift={(0,15)}, samples=50] {x^2};
    \addplot [shift={(0,25)}, samples=50] {x^2};
    \addlegendentry{A}; %
    \addlegendentry{B}; %
    \addlegendentry{C}; %
  \end{axis}
\end{tikzpicture}
\end{document}
---------------------------

With best wishes,
 - J.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to