ugly png plots in 3.1.54

Francesco Potorti` Potorti at isti.cnr.it
Thu Mar 12 10:24:42 CDT 2009


When printing a plot with print("file.png") the plot is in portrait
mode.

Until 3.1.51, the default PNG size was a sane 640x480.  In 3.1.52 it
became 576x432, that is, 90% than before.  In 3.1.54 it is 612x792,
which is portrait and does not fit well with the landscape format of
gnuplot's plots.  The relevant gnuplot line is:

  set terminal png enhanced size 612,792 large;

For both PNG and SVG, forcing 640x480 by using
print("file.png","-dpng","-S640,480") produces somewhat squashed plots,
with too big margins on top and bottom of the plots.

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: Potorti at isti.cnr.it
(entrance 20, 1st floor, room C71)     Web:   http://fly.isti.cnr.it/


More information about the Bug-octave mailing list