\documentclass[12 pt]{article} \usepackage{amssymb,amsthm,amsmath, pstricks, pst-node, pst-tree,pst-plot, pstricks-add, pgfplots,filecontents, graphicx} \begin{document} This should be the graph \begin{figure}[!htb] \centering \psset{llx=-1.2cm,lly=-1cm,xAxisLabel={$N$},xAxisLabelPos={c,-8},yAxisLabel={$c(N)$},yAxisLabelPos={-50,c}} \begin{psgraph}[Dx=100,Dy=5](0,0)(400,60){10cm}{7cm} \fileplot[plotstyle=curve,showpoints=true]{cN.txt} \end{psgraph} \caption{This is the graph of $c(N)$} \end{figure} does it work? \end{document}
10.0000 4.4063 20.0000 7.9144 30.0000 10.7714 40.0000 13.3236
! File ended while scanning use of \pst@@@altreadfile
was ist falsch?
danke!