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/
187 stars 33 forks source link

Wrong colormap spec for HTML in documentation #482

Open f380cedric opened 1 week ago

f380cedric commented 1 week ago

Hello 👋,

In the Colormap Input Format Reference (p. 196) https://github.com/pgf-tikz/pgfplots/blob/e4650af133358943881aee83e607f3567ff2d0a4/doc/latex/pgfplots/pgfplots.reference.markers-meta.tex#L915-L941 HTML is defined as rbg but instead of decimal, it's hex. However, the package does not seems to accepts HTML=(XX,XX,XX) but HTML=(XXXXXX) (IMO, the latter format is better).

Mo-Gul commented 1 week ago

You are right. The description here is a bit short/imprecise. I think it is much better at

https://github.com/pgf-tikz/pgfplots/blob/e4650af133358943881aee83e607f3567ff2d0a4/doc/latex/pgfplots/pgfplots.reference.3dplots.tex#L1696-L1729

It should be in sync (again). At least there should be a link to the above position ...

(I didn't check yet, if these position ever were in sync.)