[Top][All Lists]

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

[Octave-bug-tracker] [bug #52767] Can't edit previously saved figure.

From: anonymous
Subject: [Octave-bug-tracker] [bug #52767] Can't edit previously saved figure.
Date: Sat, 30 Dec 2017 16:05:34 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36


                 Summary: Can't edit previously saved figure.
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sat 30 Dec 2017 09:05:32 PM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Eric
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: Microsoft Windows



I would like to be able to save a plot to a file that I can later load back
and edit in Octave.

This is what I tried. . .

close all
bar(1,1)  % create figure with a rectangle drawn in it
hold on
hgsave(“temp”)  % Saving to file temp.ofig.

close all
hgload(“temp”)  % Load the figure back in.  Figure comes up looking good.
bar(2,1)  %  This command is actually performed properly.  But I get the
following error msg
                %  which aborts the program.

error: get: invalid handle (= -4.14413)
error: called from
    __bar__>update_xlim at line 352 column 7
    __bar__>bars at line 335 column 3
    __bar__ at line 194 column 12
    bar at line 118 column 16

If I remove the “hold on” line, I don’t get the error message.  But, of
course, the rectangle that I previously saved will be gone.

Am I missing something here, or is this not working properly?  Maybe I should
be doing this a different way?


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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