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

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

[Octave-bug-tracker] [bug #64606] hgload might not load or display with


From: Liang Tang
Subject: [Octave-bug-tracker] [bug #64606] hgload might not load or display with three examples.
Date: Mon, 28 Aug 2023 15:52:05 -0400 (EDT)

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

                 Summary: hgload might not load or display with three
examples.  
                   Group: GNU Octave
               Submitter: lt1234
               Submitted: Mon 28 Aug 2023 07:52:03 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: lt1234
        Originator Email: 
             Open/Closed: Open
                 Release: 8.2.0
         Discussion Lock: Any
        Operating System: Microsoft Windows
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 28 Aug 2023 07:52:03 PM UTC By: Liang Tang <lt1234>
I have three items in this report.  All related to hgload.  All figures were
shown correctly when they were plotted.  What displayed after hgload were
different.  

(1) legend is missing
(2) half of the legend box shown, when box is off
(3) A uitable would not load

Thanks,

fid=figure('name', 'Legend disappears'); 

% legend disappears
   
axs = axes ('position', [0.05 0.25 0.5 0.5], 'tag', 'plot', 'NextPlot',
'add'); 
tt=0:0.1:10; plot(tt, sin(tt),'b'); legend('A Box',  'box', 'off')

saveas(fid, 'test1.ofig', 'ofig')
hgload('test1.ofig');

fid=figure('name', 'Legend 1/2 box shown'); 

% legend 1/2 box appear
   
%axs = axes ('position', [0.05 0.25 0.5 0.5], 'tag', 'plot', 'NextPlot',
'add'); 
tt=0:0.1:10; plot(tt, sin(tt),'b'); legend('A Box',  'box', 'off')

saveas(fid, 'test2.ofig', 'ofig')
hgload('test2.ofig');

fid=figure('name', 'uitable reload failed'); 

uit=uitable (fid, 'units', 'normalized', 'Position', [ 0.6 0.25 0.3 0.5  ],
...   
'Data', zeros(4,3), ...
'RowName', {'1' '2' '3' '4'}, ...   
'ColumnName', {'x', 'y', 'z'}, ...    
'rearrangeablecolumns', 'on',  ...    
'tooltipstring', 'data',  ...
'ColumnFormat', {'bank' 'bank' 'bank'  }, ... 
'ColumnWidth',{ 100 100 100 } , ...   
'tag', 'table');
   
%axs = axes ('position', [0.05 0.25 0.5 0.5], 'tag', 'plot', 'NextPlot',
'add'); 
%tt=0:0.1:10; plot(tt, sin(tt),'b'); legend('A Box',  'box', 'off')

saveas(fid, 'test3.ofig', 'ofig')
hgload('test3.ofig');
%{
error: invalid value for array property "columneditable"
error: called from
    struct2hdl>setprops at line 700 column 10
    struct2hdl at line 231 column 3
    struct2hdl at line 225 column 15
    hgload at line 105 column 10
%}
 






    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Mon 28 Aug 2023 07:52:03 PM UTC  Name: hgload_bug.m  Size: 1KiB   By:
lt1234

<http://savannah.gnu.org/bugs/download.php?file_id=55091>
-------------------------------------------------------
Date: Mon 28 Aug 2023 07:52:03 PM UTC  Name: test1.ofig  Size: 44KiB   By:
lt1234

<http://savannah.gnu.org/bugs/download.php?file_id=55092>
-------------------------------------------------------
Date: Mon 28 Aug 2023 07:52:03 PM UTC  Name: test2.ofig  Size: 68KiB   By:
lt1234

<http://savannah.gnu.org/bugs/download.php?file_id=55093>
-------------------------------------------------------
Date: Mon 28 Aug 2023 07:52:03 PM UTC  Name: test3.ofig  Size: 25KiB   By:
lt1234

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

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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