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

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

[Octave-bug-tracker] [bug #51374] hidden axis causes warning by print()


From: Marshall
Subject: [Octave-bug-tracker] [bug #51374] hidden axis causes warning by print()
Date: Mon, 3 Jul 2017 13:47:08 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0

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

                 Summary: hidden axis causes warning by print()
                 Project: GNU Octave
            Submitted by: marsian
            Submitted on: Mon 03 Jul 2017 05:47:07 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Marsian
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

I get the warning "gl2ps_renderer::draw_axes: empty feedback buffer and/or
nothing else to print" when I run the following: 


fig=figure
plot(rand(10,10),rand(10,10),';random;)
set(findall(fig,'tag','legend'),'visible','off')
print('test.png')


I trace the warning to drawnow (gl2ps_device{n}, ['|' pipeline{n}]); in
__opengl_print__.m

The warning is because of the hidden axis. If it is visible, there is no
warning. The work around is to delete the legend rather than just hide it. I
would rather there just not be the warning, though I understand the purpose. I
ran into this originally because I was printing a figure that had multiple
sub-plots where I hid several redundant legends.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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