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

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

[Octave-bug-tracker] [bug #59015] Cannot successfully print hggroup if "


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #59015] Cannot successfully print hggroup if "units" are not "normalized"
Date: Wed, 26 Aug 2020 09:59:46 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36 Edg/84.0.522.63

URL:
  <https://savannah.gnu.org/bugs/?59015>

                 Summary: Cannot successfully print hggroup if "units" are not
"normalized"
                 Project: GNU Octave
            Submitted by: mmuetzel
            Submitted on: Wed 26 Aug 2020 03:59:45 PM CEST
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

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");






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59015>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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