octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: plot and image demos (growing window)


From: Ben Abbott
Subject: Re: plot and image demos (growing window)
Date: Sat, 30 May 2009 03:13:39 -0400


On May 30, 2009, at 1:59 AM, Rik 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 <address@hidden>
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
I used 'hg update -r 9097' but according to the documentation they
should be equivalent.  I also used 'make distclean' to clean out not
just the object files but any automatically generated configuration
files.  I went ahead and did your exercise and collected two debug
reports which I am attaching.

--Rik

Thanks Rik. The only difference I see in the two files are in the beginning.

From 9097

set terminal x11 enhanced title "Figure 1" ;
set output "/dev/null";

reset;
set autoscale fix;


From the current tip

set terminal x11 enhanced title "Figure 1"
set output '/dev/null';

reset;
set autoscale keepfix;

The "output" is not relevant as it is not present when rendered to the screen.

However, when add both the remaining differences to the current sources the window still grows.

Rik, can you confirm that your build for 9097 did *not* produce a growing window when running a gnuplot 4.2.5 or 4.3.0?

Ben





reply via email to

[Prev in Thread] Current Thread [Next in Thread]