plot and image demos (growing window)

Ben Abbott bpabbott at mac.com
Fri May 29 23:11:18 CDT 2009


On May 29, 2009, at 10:07 PM, Ben Abbott wrote:

>
> On May 29, 2009, at 9:09 PM, Ben Abbott wrote:
>
>>
>> On May 29, 2009, at 3:55 PM, Rik wrote:
>>
>>> 5/29/09
>>>
>>> Ben,
>>>
>>> I have no idea why it's failing but I at least have isolated when  
>>> the
>>> new behavior was introduced.  Using Mercurial's bisect command the
>>> growing window problem was introduced in changeset  
>>> 9098:5ecdb3d3568f.
>>>
>>> The log entry is:
>>> changeset:   9098:5ecdb3d3568f
>>> user:        Ben Abbott <bpabbott at mac.com>
>>> date:        Mon Apr 06 18:57:42 2009 -0400
>>> files:       scripts/ChangeLog scripts/plot/ 
>>> __gnuplot_default_font__.m
>>> scripts/plot/__go_draw_axes__.m scripts/plot/__go_draw_figure__.m
>>> description:
>>> Allow fontsize to be specified for all objects with fontname == "*".
>>>
>>>
>>> I tried a simple fix of setting a default font before running 'for
>>> n=1:100; plot(1:1000); drawnow; end' but it didn't work.
>>>
>>> --Rik
>>
>> Rik,
>>
>> Strange ... most of this changeset was later reverted ... at least  
>> in part.
>>
>> 	http://hg.savannah.gnu.org/hgweb/octave/rev/25cdd6096442
>>
>> Regarding the bisect command, I'm unfamiliar with it. Can you show  
>> me how to use it in this instance?
>>
>> Ben
>
> On second thought, I don't need to duplicate your work, all I really  
> need is a copy of a working plot-stream to compare with the current  
> one.;
>
> If you can run the last working version of octave, create a working  
> plot stream ...
>
> 	close all
> 	plot (1:10)
> 	drawnow ("x11", "/dev/null", false, "debug.gp")
>
> Then we can compare the result with the current sources to see what  
> is different.
>
> Ben

hmmm ... I'm not very confident in my understanding of mercurial, but  
I did a

hg revert --all -r 9097

make clean
./autogen
configure ...
make

and then with gnuplot 4.2.5 ran

	n=1:100; plot(1:1000); drawnow; end

and the window still grows.

Ben




More information about the Octave-maintainers mailing list