I tried to make a plot with data from a .txt file. The part with gnuplot works, but bringing the diagramm to Latex is frustrating. That's what I do:
— GNUPLOT —
set terminal epslatex size 10cm,5.8cm
set output 'Messw1.tex'
plot '~Long Filepath~/mydata.txt' notitle with lines
Now there are to files in "My Documents" (On partition C, in case it matters. TexLive 2012 and Gnuplot are on a different Partition.): "Messw1.tex" and "Messw1.eps".
— LATEX —
\documentclass[11pt]{scrartcl}
\usepackage{float}
\usepackage{caption}
\usepackage{epstopdf}
\begin{document}
\begin{figure}
\input{~Long Filepath~/Messw1}
\end{figure}
\end{document}
That's the first time in latex I have not the slightest idea, how I can make it work. 🙂
Desperately needing help!
Best Answer
Some points, that come to my mind:
\input messw1.tex
?Alternative options
Not really answering your question now, but if you want some high quality graphs in your document, that use tex for labels, you might want to take a look at GLE.