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

[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 15:01:57 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0

Follow-up Comment #3, bug #59648 (project octave):

The following simpler code also causes this behavior. 


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

f2=copyobj(gcf,0);


Again, figure(1) zooms properly, with the labels and title staying put, but if
you zoom on figure(2) the labels and title zoom off the page.

So is this really a bug? It is frightening to think that copyobj does not copy
the object, but that might be the case. The matlab reference for “copyobj”
(https://www.mathworks.com/help/matlab/ref/copyobj.html) indicates that lots
of information is not copied. Can anyone test this in matlab? Could this same
thing be happening with hgsave and hgload?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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