bugGNU Octave - Bugs: bug #35326, "plot" not working in a...

 
 

bug #35326: "plot" not working in a script, no warning and not documented

Submitter:  None
Submitted:  Wed 18 Jan 2012 01:06:11 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Worik Stanton Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.2.0
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 18 Jan 2012 03:42:41 AM UTC, comment #1: 
Jordi GutiƩrrez Hermoso <jordigh>
Group Member
Wed 18 Jan 2012 01:06:11 AM UTC, original submission:  

I am new to octave and matlab (never use matlab) but am running some matlab code.

I could find no search function in Savannah bugs so this could easily be a duplicate. 

A bit of googling (http://ubuntuforums.org/archive/index.php/t-428496.html) suggests that this is expected behaviour.  But I read the beginnings of the plot documentation in the info manual and it is not mentioned and it runs fine from the debugger (in Emacs).

The contents of the script are:

plot(1:100)


If I submit the line using C-c TAB C-l it produces a plot

If I run the script (called test.m) there is no plot produced.



$ octave test.m
GNU Octave, version 3.2.4
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

For information about changes from previous versions, type `news'.


Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #24843:  test.m added by None (11B - text/x-objcsrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jordigh (Posted a comment)
  • -email is unavailable- added by None (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-01-18 jordigh StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2012-01-18 None Attached File- Added test.m, #24843

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code