Mercurial > octave-nkf
diff scripts/plot/__gnuplot_get_var__.m @ 10549:95c3e38098bf
Untabify .m scripts
author | Rik <code@nomad.inbox5.com> |
---|---|
date | Fri, 23 Apr 2010 11:28:50 -0700 |
parents | ac5e381f7a1c |
children | c9b0a75b02e8 |
line wrap: on
line diff
--- a/scripts/plot/__gnuplot_get_var__.m Fri Apr 23 11:13:48 2010 -0700 +++ b/scripts/plot/__gnuplot_get_var__.m Fri Apr 23 11:28:50 2010 -0700 @@ -128,8 +128,8 @@ while (isempty (str)) str = char (fread (istream)'); if (isempty (str)) - sleep (0.05); - else + sleep (0.05); + else str = regexp (str, "OCTAVE:.*", "match"); str = str{end}(8:end); endif