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'.
|