|
From: | Gökhan Sever |
Subject: | Re: Getting plots from command line |
Date: | Wed, 6 Mar 2013 09:13:01 -0700 |
I run scripts from within GVIM by hitting F6.Have this mapping in vimrc:map <F6> :w<CR>:!run-octave -q % <CR>Now, if I can add a "pause" at the end of each script automatically before running, this would save me a lot of extra typing.Is there any vim/sed/awk trick out there that would do this for me?Thanks.--On Tue, Mar 5, 2013 at 1:07 PM, Gökhan Sever <address@hidden> wrote:
Ahaa, pause. Thanks for the tip.--On Tue, Mar 5, 2013 at 1:03 PM, Andy Buckle <address@hidden> wrote:
On 5 March 2013 19:58, Gökhan Sever <address@hidden> wrote:
____________Hello,
I am wondering if there is a way to get plots showing up on the screen from command line. Say my script has a simple plot in a test script (test.m)
If I run it via
octave test.m
I do not get any plot window.
However within the Octave shell, if I do
run test.m
brings the window as expected.
So, is there a setting to get plotting windows straight from the command line instead of running a script from within Octave shell?
Thanks.
--
Gökhan
http://wiki.octave.org/FAQ#When_I_try_plotting_from_a_script.2C_why_am_I_not_seeing_anything.3F
--
/* andy buckle */
Gökhan
Gökhan
[Prev in Thread] | Current Thread | [Next in Thread] |