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


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

Submitted by:  Markus Mützel <mmuetzel>
Submitted on:  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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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>
Project Administrator
Thu 03 Sep 2020 02:43:22 PM UTC, comment #1: 


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>
Project 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>
Project Member


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

Attach Files:

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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project 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.5