I need to change the size of a plot so that the text and line will be the correct size in my LaTeX document. I prefer to give LaTeX the correctly sized figure rather than scaling in LaTeX. I have writen a script that generates a GNUPLOT gp file. But the following command generates an error:
 
set term pdfcairo size 3in,4in 
 
I can get
 
set term png size 3in,4in  
 
but the final image quality is not good, i.e. it is not scalable like pdf or eps would be. I have also tried
 
set term post eps size 3in,4in
 
which also triggers an error.
 
I am processing the gp file in a script with the command
 
gnuplot --input="@tmpfile" --output="@output_file"
 
Thanks for any suggestions
 
Logan Kelly