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

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

[Octave-bug-tracker] [bug #45285] Printing qt figures from a for loop pr


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #45285] Printing qt figures from a for loop produces faulty files
Date: Wed, 10 Jun 2015 13:06:02 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0

Update of bug #45285 (project octave):

                 Summary: graphics_toolkit qt wrong off screen plot =>
Printing qt figures from a for loop produces faulty files

    _______________________________________________________

Follow-up Comment #5:

@Juan Pi: the fact that it works offscreen (and I guess it also works with
fltk) tells us that it is probably a threading issue like most of the problems
we currently have with printing.

* Can you try to move the pause before/after plot, and do the same with a
"drawnow ()"?


* Can you test if the for loop is needed, e.g run the following from a script
(copy/paste in the command window may not trigger the bug):


close all
graphics_toolkit qt
figure(1);

plot (randn (100,1)); 
print ('-dpng','-S800,600','eraseme1.png'); 

plot (randn (100,1)); 
print ('-dpng','-S800,600','eraseme2.png'); 


plot (randn (100,1)); 
print ('-dpng','-S800,600','eraseme3.png'); 


* The bug is probably triggered by the fact that you change the dpi. Can you
check using the default resolution (without -S... option).


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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