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

 
 

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

Submitted by:  None
Submitted on:  Wed 18 Jan 2012 01:06:11 AM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: InvalidAssigned to: None
Originator Name: Worik StantonOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.2.0
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 18 Jan 2012 03:42:41 AM UTC, comment #1:

Please see

http://octave.org/wiki/index.php?title=FAQ#When_I_try_plotting_from_a_script.2C_why_am_I_not_seeing_anything.3F

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
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 File(s):
   
   
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
  • -unavailable- added by jordigh (Posted a comment)
  • -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):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 18 Jan 2012 03:42:41 AM UTCjordighStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Wed 18 Jan 2012 01:06:11 AM UTCNoneAttached File-=>Added test.m, #24843

    Back to the top


    Powered by Savane 3.1-cleanup1