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

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

[Octave-bug-tracker] [bug #42940] Changing all fontsizes in plot gives w


From: Rik
Subject: [Octave-bug-tracker] [bug #42940] Changing all fontsizes in plot gives warning when legend present
Date: Fri, 08 Aug 2014 03:42:08 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0

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

                 Summary: Changing all fontsizes in plot gives warning when
legend present
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Thu 07 Aug 2014 08:42:06 PM PDT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The problem is that the legend object has text objects underneath it as well
as having a fontsize property.  When the fontsize is changed on the underlying
text objects the legend axes object is destroyed and re-created.  See bug
#41142.  This causes an error when the set() function tries to address the
non-existent legend object.

Sample code:


graphics_toolkit fltk;
plot (1:10);
legend ("abc");
fh = findall (gcf, "-property", "fontsize");
set (fh, "fontsize", 20);
error: set: invalid handle (= -29.205)








    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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