'paperpositionmode' change to rid gnuplot_set_term: size is zero

Daniel J Sebald daniel.sebald at ieee.org
Sat Jan 3 00:30:09 CST 2009


In using print for EPS files, I see the error message:

gnuplot_set_term: size is zero

The reason is that the paperposition is set at [0 0 0 0] and the default setting is 'manual'.  Perhaps the default should be 'auto'.

In any case, here is a patch that will sett a reasonable default for the 'auto' setting.  It may not be the best solution, so perhaps John or Dave could have a look since they're two of the few people that have larger change-sets for gnuplot_drawnow.m.

Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paperpositionmode_djs_2jan2008.patch
Type: text/x-patch
Size: 1195 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090103/f04368e9/attachment.bin 


More information about the Octave-maintainers mailing list