plot and image demos (growing window)
Ben Abbott
bpabbott at mac.com
Mon Jun 1 20:47:57 CDT 2009
On Jun 1, 2009, at 9:11 PM, Rik wrote:
>>> The problem definitely seems to be gnuplot related. For gnuplot
>>> version
>>> 4.2.2, revision 9097 works. For gnuplot version 4.2.5, revision
>>> 9097
>>> fails. 4.3 won't compile on my Hardy Heron box. I suppose we
>>> could try
>>> to work-around their bug if we could figure out how we are
>>> triggering it
>>> or we will simply have to let it pass as being outside of Octave.
>>
>> I'm not saying there isn't a bug in gnuplot, but I'm still trying to
>> understand what the method is for controlling the size of the x11
>> window and/or mouse. (Unfortunately, savanah server isn't working so
>> that I can view the latest code.)
>>
>> There is too much in between Octave and gnuplot to conclude this is a
>> gnuplot bug based on your observation.
> I really wasn't trying to conclude definitively who was at fault but
> with both code bases changing simultaneously it is difficult (and
> possibly not worthwhile) to discover where the fault lies. In
> particular, for gnuplot 4.2.2, things break between Octave versions
> 9097
> and 9098.
Can you clarify? What breaks for gnuplot 4.2.2?
> For gnuplot 4.2.5 and 4.3.0, however, the breakage occurs
> between Octave versions 8223 and 8224. I already sent the debug.gp
> files for gnuplot 4.2.2. Attached are different debug.gp files for
> the
> breakage between 8223 and 8224. The difference is the addition in
> 8224
> of the following preamble lines:
>> set multiplot;
>> set origin 0, 0
>> set size 1, 1
>
> According to the log these changes were done to make the postscript
> bounding box accurate.
> changeset: 8224:62d90e049d4f
> user: David Bateman <dbateman at free.fr>
> date: Thu Oct 16 10:31:37 2008 +0100
> summary: Always use multiplot with gnuplot to ensure correct
> postscript bounding box
Ok, I'll try experimenting with those three lines to see if I can
create a simple gnuplot example to produces the growing window.
Ben
More information about the Octave-maintainers
mailing list