[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59648] hgsave (and then load with hgload) mak
From: |
Alan |
Subject: |
[Octave-bug-tracker] [bug #59648] hgsave (and then load with hgload) makes figure that does not zoom properly |
Date: |
Sat, 12 Dec 2020 10:13:02 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0 |
Follow-up Comment #2, bug #59648 (project octave):
I looked at hgsave, and it is mostly a pass-through to the function save. I
changed my test code to the following:
close all;
clear all;
x=0:.1:20;
y=sin(x);
h1=figure(1);plot(x,y);
title('y=sin(x)');
xlabel('x');
ylabel('y');
saveFileName='testSave1.ofig';
%hgsave(h1,saveFileName);% This line is replaced with next 5
fmt = "-binary"
for i = 1:numel (h1)
s_oct40(i) = hdl2struct (h1(i));
endfor
save (fmt, saveFileName, "s_oct40");
hgload(saveFileName);
This still produces the same behavior. I looked at the function hgload, and
that is more complex. Based on this and the comment from Rik <rik5>, I am
thinking that the problem might in hgload.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59648>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #59648] hgsave (and then load with hgload) makes figure that does not zoom properly, anonymous, 2020/12/09
- [Octave-bug-tracker] [bug #59648] hgsave (and then load with hgload) makes figure that does not zoom properly, Rik, 2020/12/11
- [Octave-bug-tracker] [bug #59648] hgsave (and then load with hgload) makes figure that does not zoom properly,
Alan <=
- [Octave-bug-tracker] [bug #59648] hgsave (and then load with hgload) makes figure that does not zoom properly, Alan, 2020/12/12
- [Octave-bug-tracker] [bug #59648] hgsave (and then load with hgload) makes figure that does not zoom properly, Philip Nienhuis, 2020/12/12
- [Octave-bug-tracker] [bug #59648] hgsave (and then load with hgload) makes figure that does not zoom properly, Rik, 2020/12/12
- [Octave-bug-tracker] [bug #59648] hgsave (and then load with hgload) makes figure that does not zoom properly, Pantxo Diribarne, 2020/12/13
- [Octave-bug-tracker] [bug #59648] hgsave (and then load with hgload) makes figure that does not zoom properly, Alan, 2020/12/14
- [Octave-bug-tracker] [bug #59648] hgsave (and then load with hgload) makes figure that does not zoom properly, Rik, 2020/12/18
- [Octave-bug-tracker] [bug #59648] hgsave (and then load with hgload) makes figure that does not zoom properly, Markus Mützel, 2020/12/20