I would like to create a graphic with gnuplot for example and import it to latex to implement it in a text. The problem is that its caption, which I created with latex, has a different font, size etc. than the labeling of the axes which were created by gnuplot.
Now I thought I might create an image via gnuplot saved as tikz
, so that, when I include it in latex, the labeling's font etc., changes to the standards of the rest of my document in latex. At the end I would like to see a PDF format file which contains my text and the graphic with the same font-/ size etc.
Best Answer
Example
Plotting the von Neumann entropy of a two-level spin system, which was prepared in a state of superposition.
Gnuplot code
LaTeX Output
Compile the produced
entropy.tex
usingpdflatex
. You now get the correct LaTeX fonts.