ich habe hier ein kleines Problem mit TikZ bzw. pgf-Plots und Gnuplot. Konkret lässt sich das mit folgendem Minimalbeispiel nachvollziehen:
\documentclass{scrartcl} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=1.3} \begin{document} \begin{figure}[h!] \centering \begin{tikzpicture} \begin{axis}[colormap/greenyellow,colorbar] \addplot3[surf,samples=40] gnuplot[raw gnuplot, mesh=false]{ set pm3d; set xtics 0; set ytics 0; c=1; a=10; b=10; p=-1; K=((16*a**2)/(c*pi**3))*(-p); Sum(i,x,y)=K*(((-1)**(0.5*((2*i-1)-1)))*(1-((cosh(((2*i-1)*pi*y)/(2*a)))/(cosh(((2*i-1)*pi*b)/(2*a)))))*((cos(((2*i-1)*pi*x)/(2*a)))/((2*i-1)**3))); u(i,x,y)=(i==0)?0:u(i-1,x,y)+Sum(i,x,y); splot [-a:a] [-b:b] u(15,x,y)}; \end{axis} \end{tikzpicture} \caption{So soll es nicht aussehen...} \end{figure} \begin{figure}[h!] \centering \begin{tikzpicture} \begin{axis}[colormap/greenyellow,colorbar] \addplot3[surf,domain=0:360,samples=40] {sin(x)*sin(y)}; \end{axis} \end{tikzpicture} \caption{...aber so soll es sein!!!} \end{figure} \end{document}
Viele Grüße
Mac-Cherony
edit: ich habe die pdf-Datei noch angehängt