I created the following plot in Gnuplot by fitting a gaussian curve to some data.
In Gnuplot it looks like this:
It doesn't look perfect but that is totally fine.
I used
set terminal latex
set output "output.tex"
replot
to create a .tex file which I included in LaTeX by using
\include{output}
but when I import it into my LaTeX document in TeXstudio it looks like this
How can I make the plot look better? I couldn't make the markers for the data points disappear nor could I change the fit from dots to a line. Since it looks completely different in Gnuplot I don't really know what I am doing wrong. I tried using stuff like "with dots" etc. but then I don't have any errorbars at all.
picture
environment to generate the plot, but this is very limited. Try using theepslatex
terminal instead. This creates an eps image, and uses thepicture
environment to add labels etc. It produces much better results. – Ian Thompson Nov 26 '17 at 20:18