[newbie] zero file length when plotting (gnuplot-syntax)
Subject: [newbie] zero file length when plotting (gnuplot-syntax)
From: Leo Butler
Date: Tue, 7 Dec 2010 19:37:09 +0000 (GMT)
On Tue, 7 Dec 2010, Hugo Coolens wrote:
< OK, but how can I actually set it? I tried to all kinds of combinations but I
< always get errors like this:
< incorrect syntax: SIZE is not an infix
< operator,'pslatex,SpacesetSpacesizeSpace ^
<
< any idea how to solve this?
<
< thanks in advance
< hugo
Yes, this appears to do what you want:
plot2d(relplots,[x,0.01,1],
[legend,"beta0.1","beta0.213","beta0.444","beta1","beta4.545"],
[gnuplot_term,'pslatex],
[gnuplot_preamble,"set size 1,1;"],
[gnuplot_out_file,"example.tex"]);
The LaTeX output indicates that the picture size is determined by putting
that command in gnuplot_preamble.
Note that as a general rule, commands passed to gnuplot need to be
strings.
Leo
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.