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.
set terminal latex set output "output.tex" replot
to create a .tex file which I included in LaTeX by using
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.