Hi all,
the colormap of an 3D plot does not reflect the actual data in my case.
I played quite a long time with it and couldn't figure out what's going
wrong, so here is a minimal example:
\documentclass{minimal}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.3}
\begin{document}
\begin{tikzpicture}
\begin{axis}[view={0}{90}, colorbar]
\addplot3[surf] file {test.dat};
\end{axis}
\end{tikzpicture}
\end{document}
The attached file contains the test data set. I was expecting that the
diagonal gets a color of dark blue because all values of the diagonal
are zeros. Or in other words x==y => z=0.0
But the diagonals color is yellow/orange and according to the colorbar
this would be a value completely different than zero (~10^8).
Is this a problem because of big numbers? Does someone had a similar
problem before? Any hints are really appreciated.
Best regards,
Stefan
PS: I'm using pgfplots-1.4.1
0 0 0.0
0 1 1.42786e+08
0 2 1.51146e+08
0 3 1.59783e+08
0 4 1.4847e+08
0 5 1.6611e+08
0 6 1.4589e+08
0 7 1.62886e+08
0 8 1.14131e+0
1 0 1.73856e+08
1 1 0.0
1 2 1.70329e+08
1 3 1.66938e+08
1 4 1.6611e+08
1 5 1.77537e+08
1 6 1.66938e+08
1 7 1.62886e+08
1 8 1.40395e+08
2 0 1.62886e+08
2 1 1.66938e+08
2 2 0.0
2 3 1.95084e+08
2 4 1.70329e+08
2 5 1.70329e+08
2 6 1.70329e+08
2 7 1.77537e+08
2 8 1.42786e+08
3 0 1.6611e+08
3 1 1.73856e+08
3 2 1.95084e+08
3 3 0.0
3 4 1.77537e+08
3 5 1.73856e+08
3 6 1.7848e+08
3 7 1.77537e+08
3 8 1.38083e+08
4 0 1.6368e+08
4 1 1.70329e+08
4 2 1.6368e+08
4 3 1.77537e+08
4 4 0.0
4 5 1.95084e+08
4 6 1.70329e+08
4 7 1.73856e+08
4 8 1.53216e+08
5 0 1.60549e+08
5 1 1.73856e+08
5 2 1.70329e+08
5 3 1.77537e+08
5 4 1.90649e+08
5 5 0.0
5 6 1.73856e+08
5 7 1.73856e+08
5 8 1.51146e+08
6 0 1.70329e+08
6 1 1.73856e+08
6 2 1.70329e+08
6 3 1.77537e+08
6 4 1.73856e+08
6 5 1.70329e+08
6 6 0.0
6 7 1.95084e+08
6 8 1.35849e+08
7 0 1.6368e+08
7 1 1.73856e+08
7 2 1.73856e+08
7 3 1.73856e+08
7 4 1.77537e+08
7 5 1.73856e+08
7 6 1.95084e+08
7 7 0.0
7 8 1.38083e+08
8 0 1.1941e+08
8 1 1.40395e+08
8 2 1.40395e+08
8 3 1.353e+08
8 4 1.50469e+08
8 5 1.51146e+08
8 6 1.35849e+08
8 7 1.33683e+08
8 8 0.0
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features