ich zeichne eine Gaußglocke in pgfplots. Zeichne ich mit den Rohdaten das Diagramm in Excel, so ergibt sich das gewollte Ergebnis. Zeichne ich das nun mit pgfplots, so ergibt sich ein Stufenmuster. Dieses ist aber in den Rohdaten gar nicht vorhanden. Es sind auch keine Stufen beim zeichnen Eingestellt, da bei anderen Datensätzen alles wunderbar klappt.
Folgend der Code und die Datenwerte:
\begin{figure}[!htb] \centering \pgfplotsset{every x tick label/.append style={/pgf/number format/.cd,fixed}} \begin{tikzpicture}[scale=1] \begin{axis}[ymin=0,ytick=\empty,height=4cm,width=13.6cm,colorbar,point meta rel=per plot,samples=5,xmin=-0.2,xmax=0.2} \addplot[mesh] table[x=Achse,y=Wert] {graphen/Test.txt}; \end{axis} \end{tikzpicture} \caption[Bla]{Bla} \label{bla} \end{figure}
-0.20 0.00
-0.20 0.00
-0.20 0.00
-0.19 0.00
-0.19 0.00
-0.19 0.00
-0.19 0.00
-0.19 0.00
-0.18 0.00
-0.18 0.00
-0.18 0.00
-0.18 0.00
-0.18 0.00
-0.17 0.00
-0.17 0.00
-0.17 0.00
-0.17 0.00
-0.17 0.00
-0.16 0.00
-0.16 0.00
-0.16 0.00
-0.16 0.00
-0.16 0.00
-0.15 0.00
-0.15 0.00
-0.15 998.78
-0.15 0.00
-0.15 0.00
-0.14 0.00
-0.14 0.00
-0.14 0.00
-0.14 0.00
-0.14 0.00
-0.13 998.74
-0.13 0.00
-0.13 998.68
-0.13 1996.92
-0.13 0.00
-0.12 998.80
-0.12 2996.07
-0.12 2995.45
-0.12 2995.93
-0.12 3993.40
-0.11 3994.88
-0.11 10984.70
-0.11 14978.20
-0.11 16976.70
-0.11 20972.50
-0.10 19973.60
-0.10 33956.00
-0.10 45938.70
-0.10 61921.10
-0.10 84890.40
-0.09 115853.00
-0.09 132830.00
-0.09 163790.00
-0.09 223718.00
-0.09 261672.00
-0.08 340572.00
-0.08 397502.00
-0.08 500375.00
-0.08 613237.00
-0.08 738089.00
-0.07 876908.00
-0.07 1103640.00
-0.07 1306390.00
-0.07 1465190.00
-0.07 1797790.00
-0.06 2030510.00
-0.06 2248240.00
-0.06 2675730.00
-0.06 2949400.00
-0.06 3280000.00
-0.05 3620590.00
-0.05 4111990.00
-0.05 4427610.00
-0.05 4856100.00
-0.05 5152740.00
-0.04 5480350.00
-0.04 5757010.00
-0.04 5890860.00
-0.04 6154540.00
-0.04 6292380.00
-0.03 6464170.00
-0.03 6539080.00
-0.03 6475160.00
-0.03 6561060.00
-0.03 6510120.00
-0.02 6465170.00
-0.02 6287380.00
-0.02 6223460.00
-0.02 5743040.00
-0.02 5719070.00
-0.01 5501330.00
-0.01 5395460.00
-0.01 5132780.00
-0.01 4874080.00
-0.01 4814160.00
0.00 4757230.00
0.00 4840130.00
0.00 4787190.00
0.00 4810170.00
0.01 4864100.00
0.01 4977960.00
0.01 5063860.00
0.01 5153750.00
0.01 5449400.00
0.02 5737040.00
0.02 5948790.00
0.02 6061660.00
0.02 6206480.00
0.02 6509110.00
0.03 6586030.00
0.03 6577030.00
0.03 6559050.00
0.03 6473160.00
0.03 6592010.00
0.04 6309350.00
0.04 6137560.00
0.04 5923810.00
0.04 5507310.00
0.04 5397450.00
0.05 5024890.00
0.05 4759220.00
0.05 4362690.00
0.05 4103010.00
0.05 3589620.00
0.06 3205090.00
0.06 2996340.00
0.06 2614800.00
0.06 2243260.00
0.06 2006540.00
0.07 1775820.00
0.07 1563070.00
0.07 1242470.00
0.07 1049700.00
0.07 878911.00
0.08 763054.00
0.08 653186.00
0.08 514358.00
0.08 434457.00
0.08 318601.00
0.09 257678.00
0.09 188760.00
0.09 187763.00
0.09 117852.00
0.09 89882.00
0.10 75903.40
0.10 44943.40
0.10 55926.10
0.10 25965.20
0.10 27963.60
0.11 24965.90
0.11 14979.20
0.11 10985.00
0.11 4992.18
0.11 7988.53
0.12 2995.55
0.12 998.68
0.12 1997.36
0.12 0.00
0.12 0.00
0.13 998.78
0.13 998.67
0.13 998.77
0.13 998.49
0.13 0.00
0.14 0.00
0.14 998.13
0.14 0.00
0.14 0.00
0.14 0.00
0.15 0.00
0.15 0.00
0.15 0.00
0.15 0.00
0.15 0.00
0.16 0.00
0.16 0.00
0.16 0.00
0.16 0.00
0.16 0.00
0.17 0.00
0.17 0.00
0.17 0.00
0.17 0.00
0.17 0.00
0.18 0.00
0.18 0.00
0.18 0.00
0.18 0.00
0.18 0.00
0.19 0.00
0.19 0.00
0.19 0.00
0.19 0.00
0.19 0.00
0.20 0.00
0.20 0.00
0.20 0.00
Lg Gusti