pgf-tikz / pgfplots

pgfplots - A TeX package to draw normal and/or logarithmic plots directly in TeX in two and three dimensions with a user-friendly interface and pgfplotstable - a TeX package to round and format numerical tables. Examples in manuals and/or on web site.
http://pgfplots.sourceforge.net/
200 stars 35 forks source link

[colormaps] spurious spaces ... #146

Closed pgf-tikz-bot closed 4 years ago

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/146/ Author: mo-gul Timestamp: 2016-11-27 10:45:41.353000

Have a look at the comments in the following code.

\documentclass{standalone}
    \usepackage{pgfplots}
\begin{document}
    % The following will produce some spurious spaces
    % This is caused, because there is a `%' missing at the end of line 261
    % in `pgfplotscolormap.code.tex'.
    % (In line 279 there is also no `%' at the end of the line, but I don't
    %  know if this could also cause some trouble anywhere else.)
    %
    a%
    \pgfplotsset{
        colormap={CM}{
            rgb=(0,0,1)
            rgb=(0,0,1)
            color=(black)
            rgb255=(238,140,238)
        }
    }%
    b
\end{document}
pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/146/#a7e6 Author: cfeuersaenger Timestamp: 2016-12-31 09:29:20.874000

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/146/#9871 Author: cfeuersaenger Timestamp: 2016-12-31 09:29:20.975000

Thanks for the report and the good analysis!

It is fixed now