octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #36679] Timing error for multiple plots


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #36679] Timing error for multiple plots
Date: Thu, 21 Jun 2012 19:00:44 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0

Follow-up Comment #3, bug #36679 (project octave):

I have located the code in print.m which
seems to cause the BB change.  The line is
at 323:

    set (opts.figure, "position", fpos);

If this line is commented out the BoundingBox
for all plots in the loop is the same without
any pause() commands.  However, it is not the
size that was previously "correct." It is
the samller size which occurs after a number of
plots without any pauses.

It is also true that this command causes the figure on the 
screen to move up (and I assume) expand. Having the
figure jump on the screen during print() is not too
good.  The original position and size is restored
when print() is done.

So, the reason for the BB size change is that the 
set command above does not always take effect before
print actually generates to output file.

Two things need fixing:

1. Figure out how to make the set command take effect
   before print generates the file.

2. Figure out how to make the set NOT move the figure
   on the screen.  At least, not cause the base of the
   figure to jump up.  The figure may have to change
   since its size presumably must change to get the
   BoundingBox right.

It would be great if anyone who is familiar with this
code could comment on possible fixes.

This has actually been a long-standing problem, but
it would be very heplful to get it resolved.  In my
experience, the problem happened much more when using
a "slow" X11 connection (as in remotely over DSL).  But,
now I am doing these tests on a local machine (Fedora 17).



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36679>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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