bugGNU Octave - Bugs: bug #52767, Can't edit previously saved figure.

 
 

bug #52767: Can't edit previously saved figure.

Submitted by:  None
Submitted on:  Sat 30 Dec 2017 09:05:32 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NoneAssigned to: None
Originator Name: EricOriginator Email: -unavailable-
Open/Closed: OpenRelease: 4.2.1
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 30 Dec 2017 09:05:32 PM UTC, original submission:

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?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1