octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.9.14+ hold issue


From: Fredrik Lingvall
Subject: Re: 2.9.14+ hold issue
Date: Wed, 26 Sep 2007 13:28:26 +0200
User-agent: Thunderbird 2.0.0.6 (X11/20070804)

David Bateman wrote:


Opps, this won't respect the "on" and "off" args to "hold".. Try this
version of the patch instead..

D.

  
This solved the hold issue, thanks!

I have, however, found another plot issue and I have difficulty to see what is causing problem. I have  a
script that uses the toolbox:

    http://www.signal.uu.se/Toolbox/dream/

(which I'm the main developer for) that generates the error:

error: value on right hand side of assignment is undefined
error: evaluating assignment _expression_ near line 31, column 23
error: evaluating if command near line 30, column 3
error: called from `__gnuplot_version__' in file `/usr/local//share/octave/2.9.14+/m/plot/__gnuplot_version__.m'
error: evaluating argument list element number 1
error: evaluating static command near line 32, column 5
error: evaluating if command near line 26, column 3
error: called from `__go_draw_axes__' in file `/usr/local//share/octave/2.9.14+/m/plot/__go_draw_axes__.m'
error: evaluating switch command near line 54, column 4
error: evaluating for command near line 52, column 2
error: evaluating if command near line 34, column 7
error: evaluating if command near line 27, column 5
error: evaluating if command near line 26, column 3
error: called from `__go_draw_figure__' in file `/usr/local//share/octave/2.9.14+/m/plot/__go_draw_figure__.m'
error: evaluating if command near line 74, column 6
error: evaluating if command near line 71, column 4
error: evaluating if command near line 69, column 2
error: evaluating for command near line 68, column 7
error: evaluating if command near line 42, column 5
error: called from `drawnow' in file `/usr/local//share/octave/2.9.14+/m/plot/drawnow.m'
error: evaluating if command near line 60, column 5
error: evaluating if command near line 59, column 3
error: called from `figure' in file `/usr/local//share/octave/2.9.14+/m/plot/figure.m'
error: near line 242 of file `/root/projects/jasa2007b/trunk/m_files/check_orth.m'

when I try to do:

figure(1);
clf;
mesh(x,z,cm);

The script seems to set the octave-gnuplot intraction in a state so that
nothing can be plotted:

octave:20> plot(randn(100,1))
error: value on right hand side of assignment is undefined
error: evaluating assignment _expression_ near line 31, column 23
error: evaluating if command near line 30, column 3
error: called from `__gnuplot_version__' in file `/usr/local//share/octave/2.9.14+/m/plot/__gnuplot_version__.m'
error: evaluating argument list element number 1
error: evaluating binary operator `&&' near line 74, column 2
error: if: error evaluating conditional _expression_
error: evaluating if command near line 73, column 5
error: evaluating if command near line 72, column 3
error: called from `image_viewer' in file `/usr/local//share/octave/2.9.14+/m/image/image_viewer.m'
error: evaluating if command near line 26, column 3
error: called from `__go_draw_axes__' in file `/usr/local//share/octave/2.9.14+/m/plot/__go_draw_axes__.m'
error: evaluating switch command near line 54, column 4
error: evaluating for command near line 52, column 2
error: evaluating if command near line 34, column 7
error: evaluating if command near line 27, column 5
error: evaluating if command near line 26, column 3
error: called from `__go_draw_figure__' in file `/usr/local//share/octave/2.9.14+/m/plot/__go_draw_figure__.m'
error: evaluating if command near line 74, column 6
error: evaluating if command near line 71, column 4
error: evaluating if command near line 69, column 2
error: evaluating for command near line 68, column 7
error: evaluating if command near line 42, column 5
error: called from `drawnow' in file `/usr/local//share/octave/2.9.14+/m/plot/drawnow.m'
octave:21>

The only thing that resets plotting is to do a: clear all (clear functions is  not enough).
I have no idea what it is that causes this problem (I can post the script but then the toolbox must
be installed to run it).

PS. The script runs fine using matlab or in octave given that I do something like:

save cm.mat cm x z Ro Ro_orig
clear all
load cm

figure(1);
clf;
mesh(x,z,cm);

/Fredrik


reply via email to

[Prev in Thread] Current Thread [Next in Thread]