bugGNU Octave - Bugs: bug #42940, Changing all fontsizes in plot...

 
 

bug #42940: Changing all fontsizes in plot gives warning when legend present

Submitter:  Rik <rik5>
Submitted:  Fri 08 Aug 2014 03:42:06 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 18 Nov 2019 08:40:35 PM UTC, comment #3: 

Verified with new legend.m.  Marking as fixed and closing report.

Rik <rik5>
Group administrator
Mon 18 Nov 2019 09:45:40 AM UTC, comment #2: 

legend.m has been rewritten (for OpenGL toolkits only). This bug should now be fixed.

Marking ready for test.

Pantxo Diribarne <pantxo>
Group Member
Thu 17 Nov 2016 10:40:20 AM UTC, comment #1: 

This bug is still present in the current dev 4.3.0 (39f39eb4e476).

I filed task #14243 about rewriting legend.m

Pantxo Diribarne <pantxo>
Group Member
Fri 08 Aug 2014 03:42:06 AM UTC, original submission:  

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)




Rik <rik5>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by rik5
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-11-18 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2019-11-18 pantxo StatusDuplicate Ready For Test
    2014-08-08 rik5 StatusConfirmed Duplicate
    2014-08-08 rik5 Carbon-Copy- Added -email is unavailable-
    2014-08-08 rik5 StatusNone Confirmed
    2014-08-08 rik5 Dependencies- bugs #42884 is dependent
    2014-08-08 rik5 Dependencies- Depends on bugs #41142

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code