[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: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #59648] hgsave (and then load with hgload) makes figure that does not zoom properly |
Date: |
Wed, 9 Dec 2020 23:00:24 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0 |
URL:
<https://savannah.gnu.org/bugs/?59648>
Summary: hgsave (and then load with hgload) makes figure that
does not zoom properly
Project: GNU Octave
Submitted by: None
Submitted on: Thu 10 Dec 2020 04:00:23 AM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: AlanS
Originator Email: alanstr@totalspeed.net
Open/Closed: Open
Release: 6.1.0
Discussion Lock: Any
Operating System: Microsoft Windows
_______________________________________________________
Details:
I save a .ofig file with hgsave, then re-load it with hgload (or just from the
file menu of any open figure), and then the zooming causes the titles and
labels to zoom. Here is an example:
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);
hgload(saveFileName);
Now there are two open figures. Select figure(1) and zoom in, and the title
and labels stay put, as they should. But select figure(2) and zoom in, and the
title and figures zoom out of view.
It seems as if the saved file does not properly contain the figure properly. I
suppose the failure could be coming in on the hgload as well, if loading from
a figure file menu calls hgload as well.
The report #51049 might be related, but I couldn't tell.
I first noticed this with release 5.1, where I think I might have been using
gnuplot. I uninstalled that and installed 6.1.0, and now I am using the
default qt, and it still happens.
p.s. You are all truly heroes, and I appreciate your efforts immensely.
_______________________________________________________
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 <=
- [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, 2020/12/12
- [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