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

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

[Octave-bug-tracker] [bug #33180] Print command in fltk not working on "


From: foehler
Subject: [Octave-bug-tracker] [bug #33180] Print command in fltk not working on "unvisible" figure and then crashing
Date: Fri, 29 Apr 2011 14:00:50 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:2.0) Gecko/20100101 Firefox/4.0

URL:
  <http://savannah.gnu.org/bugs/?33180>

                 Summary: Print command in fltk not working on "unvisible"
figure and then crashing
                 Project: GNU Octave
            Submitted by: foehler
            Submitted on: Fri 29 Apr 2011 14:00:49 GMT
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: foehler
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The print command using fltk toolkits doesn't work on 'visible'='off' figure
while it works using the gnuplot toolkit


graphics_toolkit fltk;

x = rand(3);
plot (x)
print (gcf,"test_visible.png","-dpng")
set (gcf,'visible','off')

print (gcf,"test_invisible.png","-dpng")
set (gcf,'visible','on')


leads to 

error: gl2ps-renderer: fdopen failed

after the  " set (gcf,'visible','on') " command.

The print command on the "invisible" figure does not produce any file (not
even a white .png). 

the same code without -dpng produce a "test_invisible.ps" but it is a white
page.


- Remark :
It may seem strange to want to print figure without seeing them but it is
quite handy in a loop where you want to produce images for example. 
-

Could someone confirm this ?

Regards,
 Fab.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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