octave-maintainers
[Top][All Lists]
Advanced

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

Re: graphics-branch in CVS


From: John W. Eaton
Subject: Re: graphics-branch in CVS
Date: Wed, 31 Jan 2007 04:21:38 -0500

On 31-Jan-2007, Søren Hauberg wrote:

| John W. Eaton skrev:
| > I've merged the changes from the branch.  After updating, you will
| > need to at least run config.status in the top-level and scripts
| > directories.
| I can't run mesh either:
| 
| octave:3> [X, Y] = meshgrid(-pi:0.1:pi);
| octave:4> Z = sin(X).*cos(X);
| octave:5> mesh(X, Y, Z)
|           line 0: undefined variable: set
| 
| error: octave_base_value::array_value(): wrong type argument `complex 
| matrix'
| error: evaluating if command near line 29, column 3
| error: called from `__uiobject_draw_axes__' in file 
| `/home/sh/Programmer//share/octave/2.9.9+/m/plot/__uiobject_draw_axes__.m'
| error: evaluating switch command near line 55, column 4
| error: evaluating for command near line 53, column 2
| error: evaluating if command near line 37, column 7
| error: evaluating if command near line 30, column 5
| error: evaluating if command near line 29, column 3
| error: called from `__uiobject_draw_figure__' in file 
| `/home/sh/Programmer//share/octave/2.9.9+/m/plot/__uiobject_draw_figure__.m'
| error: evaluating if command near line 57, column 5
| error: evaluating if command near line 33, column 3
| error: called from `drawnow' in file 
| `/home/sh/Programmer//share/octave/2.9.9+/m/plot/drawnow.m'
| 
| Søren

It works for me with the following change.  But I was seeing a
different error.  I don't understand why you are getting the wrong
type argument error.

jwe


scripts/ChangeLog:

2007-01-31  John W. Eaton  <address@hidden>

        * plot/__uiobject_draw_axes__.m: Delete useless call to
        __gnuplot_save_data__.
 

Index: scripts/plot/__uiobject_draw_axes__.m
===================================================================
RCS file: /cvs/octave/scripts/plot/__uiobject_draw_axes__.m,v
retrieving revision 1.2
diff -u -u -r1.2 __uiobject_draw_axes__.m
--- scripts/plot/__uiobject_draw_axes__.m       30 Jan 2007 19:16:53 -0000      
1.2
+++ scripts/plot/__uiobject_draw_axes__.m       31 Jan 2007 09:20:26 -0000
@@ -428,7 +428,6 @@
              k++;
            endfor
            data{data_idx} = zz;
-           h = __gnuplot_save_data__ (zz, 3, false);
          endif
          usingclause{data_idx} = "using ($1):($2):($3)";
          withclause{data_idx} = "with line palette";

reply via email to

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