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

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

[Octave-bug-tracker] [bug #62093] savefig/openfig loses axes/labels on p


From: anonymous
Subject: [Octave-bug-tracker] [bug #62093] savefig/openfig loses axes/labels on polar plots
Date: Mon, 21 Feb 2022 14:55:59 -0500 (EST)

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

                 Summary: savefig/openfig loses axes/labels on polar plots
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 21 Feb 2022 07:55:57 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Glenn G
        Originator Email: glenn.groesachel@husco.com
             Open/Closed: Open
                 Release: 6.4.0
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

When saving a polar plot to a .ofig file and subsequently opening the file the
polar axes and labels are lost (actual plot stays in tact, just with no
axes).

Below is simplified code to demonstrate.
Using Octave for Windows 6.4.0 , configured for "x86_64-w64-mingw32"

Also attached are PNG files for the original polar plot (which is correct) and
the loaded plot (missing axes/labels).


%Test for seeing if polar axes disappear when saving a polar figure then
reloading
%Create some data
r=0:.1:6.2; %radius
t=0:.1:6.28;  %theta (radians)
h=polar(t,r);
fig=ancestor(h,'figure'); %Get handle to figure
savefig(fig,'test_polar_axes.ofig'); %Save figure
openfig('test_polar_axes.ofig');  %Reopen same figure, does it look the same?
-verbatim

Thanks for all your hard work, the set of commands and compatibility that is
supported is truly amazing!



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 21 Feb 2022 07:55:57 PM UTC  Name: original.png  Size: 59KiB   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=52899>
-------------------------------------------------------
Date: Mon 21 Feb 2022 07:55:57 PM UTC  Name: loaded_figure.png  Size: 9KiB  
By: None

<http://savannah.gnu.org/bugs/download.php?file_id=52900>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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