bugGNU Octave - Bugs: bug #59015, Cannot successfully print hggroup...

 
 

bug #59015: Cannot successfully print hggroup if "units" are not "normalized"

Submitter:  Markus Mützel <mmuetzel>
Submitted:  Wed 26 Aug 2020 01:59:45 PM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
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
   

Thu 10 Sep 2020 12:02:52 AM UTC, comment #2: 

It's been about a week.  Marking as fixed and closing report.

Rik <rik5>
Group administrator
Thu 03 Sep 2020 02:43:22 PM UTC, comment #1: 

Confirmed.

I pushed a fix that I think will work, although I left the old code in the code base, just commented out, until it is definitively working.  See changeset http://hg.savannah.gnu.org/hgweb/octave/rev/e44ab1089f61.


Rik <rik5>
Group administrator
Wed 26 Aug 2020 01:59:45 PM UTC, original submission:  

When trying to print a figure that contains a hggroup with its "units" property set to something other than "normalized", printing fails with the following error:

error: invalid value = data
error: called from
    print at line 486 column 13


Example that produces this error:

hf = clf (figure (1));
hax = axes (hf);
hl = plot (hax, [0, 1]);
hg = annotation ("textbox", [0.5, 0.5, 0.1, 0.1], "String", "test");
set (hg, "Units", "pixels");

print (hf, "test_annotation_units.png");


Markus Mützel <mmuetzel>
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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mmuetzel (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-09-10 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2020-09-03 rik5 StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code