bugGNU Octave - Bugs: bug #39525, close has some problems after...

 
 

bug #39525: close has some problems after syntax error or closing plots manually.

Submitter:  imartinez <imartinez>
Submitted:  Fri 19 Jul 2013 08:32:30 AM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  imartinez Open/Closed:  * Closed
Release:  * 3.6.4 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 19 Jul 2013 03:51:13 PM UTC, comment #1: 

I think this is caused by the use of 'fclose "all"'.  I'm marking this as a duplicate of #39504.

Rik <rik5>
Group administrator
Fri 19 Jul 2013 08:32:30 AM UTC, original submission:  

Just take a look, after I had a syntax error.... and/or I closed plots manually.

Trying to have clean state before trying again.

>>fclose all

ans = 0

>>clear


>>close

error: _go_execute_callback_: invalid graphics object (= 6)
error: called from:
error:   /usr/share/octave/3.6.3/m/plot/close.m at line 63, column 5

>>close 'all'

error: close: expecting argument to be "all" or a figure handle
error: called from:
error:   /usr/share/octave/3.6.3/m/plot/close.m at line 52, column 7
error:   /usr/share/octave/3.6.3/m/plot/close.m at line 77, column 1
error:   /usr/share/octave/3.6.3/m/plot/close.m at line 46, column 7

>>close "all"

error: close: expecting argument to be "all" or a figure handle
error: called from:
error:   /usr/share/octave/3.6.3/m/plot/close.m at line 52, column 7
error:   /usr/share/octave/3.6.3/m/plot/close.m at line 77, column 1
error:   /usr/share/octave/3.6.3/m/plot/close.m at line 46, column 7

>> HP8510C_Spar

error: close: expecting argument to be "all" or a figure handle
error: called from:
error:   /usr/share/octave/3.6.3/m/plot/close.m at line 52, column 7
error:   /usr/share/octave/3.6.3/m/plot/close.m at line 77, column 1
error:   /usr/share/octave/3.6.3/m/plot/close.m at line 46, column 7
error:   /home/labuser/Windows_drive/Inst_programs/HP8510C_Spar.m at line 4, column 1 

It seems close gets picky after an error...

imartinez <imartinez>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jordigh (Updated the item)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by imartinez (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-07-19 jordigh Open/ClosedOpen Closed
    2013-07-19 rik5 CategoryOctave Function Plotting with gnuplot
    2013-07-19 rik5 StatusNone Duplicate
        Dependencies- Depends on bugs #39504

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code