From: Shiwei Y. <SW...@gs...> - 2005-01-26 08:23:49
|
Dear Sir or Madam: I update wgnuplot from version 3.7 to latest version 4.0. I use a file called "sample.plt" to drawn eps figure with datafile "RHO". The problem is that the xlabel and ylable does not appear. Would you please help me to solve this technical problem. Thank you very much for your kind assistance in advance! With my best regards, Yours Yan ---------------------------- |
From: Hans-Bernhard B. <br...@ph...> - 2005-01-26 13:25:48
|
Shiwei Yan wrote: > Dear Sir or Madam: > I update wgnuplot from version 3.7 to latest version 4.0. I use a file > called "sample.plt" to drawn eps figure with datafile "RHO". The problem is > that the xlabel and ylable does not appear. They're not *supposed* to appear in the eps part of the figure. That's why it's called 'epslatex'. You should have got two output files, one holding the EPS part, the other holding a LaTeX fragment to be \included into your LaTeX document. If you want an EPS-only output, use 'set terminal postscript eps' instead (and read 'help postscript' for further options). |
From: marcusantonius <mar...@st...> - 2008-05-19 20:28:50
|
I'm using Gnuplot 4.2 and want to use the plots in Latex. Therefore I use "set terminal epslatex" But when including the file in latex via \documentclass{article} \usepackage{graphics} % needed for epslatex terminal \usepackage{color} \begin{document} \begin{figure} \begin{center} \scalebox{1.0}{\input{gnuplotfigure.tex}} \caption{Enter caption here} \label{Enter label here} \end{center} \end{figure} \end{document} I get the following error messages: [LaTeX] finished with exit status 1 ./gnuplotfigure.tex:94:Missing $ inserted. \gplbacktext ./gnuplotfigure.tex:94:Extra }, or forgotten $. \gplbacktext ./gnuplotfigure.tex:94:Missing $ inserted. \gplbacktext ./gnuplotfigure.tex:94:Missing } inserted. \gplbacktext ./gnuplotfigure.tex:94:Missing $ inserted. \gplbacktext ./gnuplotfigure.tex:94:Extra }, or forgotten $. \gplbacktext ./gnuplotfigure.tex:94:Missing $ inserted. \gplbacktext ./gnuplotfigure.tex:94:Missing } inserted. \gplbacktext ./test.tex:9:Overfull \hbox (16.34033pt too wide) in paragraph the relevant part in the tex file is \setlength{\unitlength}{0.0500bp}% \begin{picture}(7200.00,5040.00)% \gplgaddtomacro\gplbacktext{% \csname LTb\endcsname% \put(990,660){\makebox(0,0)[r]{\strut{} 0}}% \put(990,1689){\makebox(0,0)[r]{\strut{} 0.5}}% \put(990,2718){\makebox(0,0)[r]{\strut{} 1}}% \put(990,3747){\makebox(0,0)[r]{\strut{} 1.5}}% \put(990,4776){\makebox(0,0)[r]{\strut{} 2}}% \put(1122,440){\makebox(0,0){\strut{} 0}}% \put(2263,440){\makebox(0,0){\strut{} 2000}}% \put(3404,440){\makebox(0,0){\strut{} 4000}}% \put(4544,440){\makebox(0,0){\strut{} 6000}}% \put(5685,440){\makebox(0,0){\strut{} 8000}}% \put(6826,440){\makebox(0,0){\strut{} 10000}}% \put(220,2718){\rotatebox{90}{\makebox(0,0){\strut{}m_{10}/m_{0}}}}% \put(3974,110){\makebox(0,0){\strut{}m_{0} (GeV)}}% }% \gplgaddtomacro\gplfronttext{% }% \gplbacktext \put(0,0){\includegraphics{gnuplotfigure}}% \gplfronttext \end{picture}% does anyone know why this error occurs? Thank you very much -- View this message in context: http://www.nabble.com/epslatex-error-tp17327348p17327348.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
From: rhenwood U. <ric...@tr...> - 2008-05-21 10:54:58
|
On Mon, 19 May 2008 13:28:57 -0700, marcusantonius wrote: <snip> > \put(5685,440){\makebox(0,0){\strut{} 8000}}% > \put(6826,440){\makebox(0,0){\strut{} 10000}}% > \put(220,2718){\rotatebox{90}{\makebox(0,0){\strut{}m_{10}/m_ {0}}}}% > \put(3974,110){\makebox(0,0){\strut{}m_{0} (GeV)}}% > }% > \gplgaddtomacro\gplfronttext{% > }% > \gplbacktext > \put(0,0){\includegraphics{gnuplotfigure}}% \gplfronttext > \end{picture}% > > does anyone know why this error occurs? Thank you very much Your strings (i.e. m_{10}) look like math, do you need to include $'s around them? r, |