ugly png plots in 3.1.54
Ben Abbott
bpabbott at mac.com
Fri Mar 13 05:09:48 CDT 2009
On Mar 12, 2009, at 11:24 PM, Francesco Potorti` wrote:
> 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,
This should restore the old behavior.
Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changeset-size.patch
Type: application/octet-stream
Size: 2342 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090313/bbf6eb28/attachment.obj
-------------- next part --------------
More information about the Bug-octave
mailing list