I usually use postscript terminal with eps output for papers. My best setting up to now is to use "set term postscript eps enhanced". You can also easily generate your eps file by using "set output" command. If you use pdflatex for your paper, you will need pdf files instead of eps files. In this case, you might want to run
Here, I introduce my gnuplot template file, which can be useful for your paper writing.
(* You must change most of the properties by hand. *)
epstopdf <your_eps_file>The above command outputs a pdf file from your eps file.
Here, I introduce my gnuplot template file, which can be useful for your paper writing.
(* You must change most of the properties by hand. *)
- ## GNUPLOT script by sangkilc
- ## File Name
- fname = "yourfilename"
- ## start setting values
- ## Margins
- set tmargin 1
- ## Border
- ## Tics
- #set x2tics 0, 5
- #set y2tics 0, 5
- ## Ranges
- set xrange [0:256]
- ## Labels
- #set xlabel "xlabel"
- #set x2label "x2label"
- #set y2label "y2label"
- ## Legend
- ## Plot style
- ## This is only for the histogram style plotting
- ## Format
- #set format x "%2X"
- ## Plot
- ## This part must be modified for each plot.
- ## Also, there must be a .dat file, which contains all the data for the plot.
- #plot fname . ".dat" \
- # using 2:xticlabels(1) title "A" lw 2 lt 1 fs solid 0.1,\
- # "" using 3 title "B" lw 2 lt 1 fs solid 0.3,\
- # "" using 4 title "C" lw 2 lt 1 fs solid 0.6,\
- # "" using 5 title "D" lw 2 lt 1 fs solid 0.9


