I'm writing some code that produces plots. It would be very useful,
given the type of plot I need, to be able to tweak its size. This is
currently impossible with the gnuplot or plot commands, but one can
overcome this limitation by embedding the plot inside a gpbuild block, as in
<hansl>
open denmark
gpbuild foo
gnuplot LRM LRY
end gpbuild
gridplot foo --height=200 --output=display
</hansl>
It works, but it's a bit of a hack.
I think I remember that the requirement of having a fixed sized output
for gnuplot was linked to the necessity of being able to do all the
clever things we have for tweaking the plot via our GUI tool. I think
you need that for zooming too. There may be more, I can't remember offhand.
I was thinking: how about enabling the --width and --height option for
plot/gnuplot, stating clearly in the documentation that the resulting
plot won't be editable, zoomable, etc?
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------