Skip to content

Commit 8571745

Browse files
authored
Merge pull request #470 from rdrehmel/doc
Fix the phi(m) function.
2 parents 8ddad31 + 8132796 commit 8571745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/latex/pgfplots/pgfplots.reference.markers-meta.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3918,7 +3918,7 @@ \subsection{User Input Format for Point Meta}
39183918
a function
39193919
\[ \phi\colon [m_{\min},m_{\max}] \to [0,1000] \]
39203920
with
3921-
\[ \phi(m) = \frac{m - m_{\min}} {1000} \]
3921+
\[ \phi(m) = \frac{m - m_{\min}}{m_{\max} - m_{\min}} \cdot 1000 \]
39223922
such that $\phi(m_{\min}) = 0$ and $\phi(m_{\max})=1000$. The value $1000$
39233923
is -- per convention -- the upper limit of all color maps. Now, if a
39243924
coordinate (or edge/face) has the point meta data $m$, its color will be

0 commit comments

Comments
 (0)