Octave 3.0.1 surfc command generates errors

Karl M karlm30 at hotmail.com
Sat Jul 5 12:12:21 CDT 2008


Hi All...
 
I just downloaded and installed the precompiles MSVC octave 3.0.1 for windows.
 
I am running XP SP2, and installed Octave with the jHandles option.
 
When I run
 
 x = -2:0.1:2; [xx,yy] = meshgrid(x,x); z = sin(xx.^2-yy.^2); surfc(x,x,z,'EdgeColor', 'none');
 
I get the following
 
octave-3.0.1.exe:3>  x = -2:0.1:2;octave-3.0.1.exe:4>  [xx,yy] = meshgrid(x,x);octave-3.0.1.exe:5>  z = sin(xx.^2-yy.^2);octave-3.0.1.exe:6>  surfc(x,x,z,'EdgeColor', 'none');
Invalid call to contourc.  Correct usage is:
 -- Function File: [C, LEV] = contourc (X, Y, Z, VN)
Additional help for built-in functions and operators isavailable in the on-line version of the manual.  Use the command`doc <topic>' to search the manual index.
Help and information about Octave is also available on the WWWat http://www.octave.org and via the help at octave.orgmailing list.
error: evaluating if command near line 62, column 3error: called from `contourc' in file `C:\Program Files\Octave\share\octave\3.0.1\m\plot\contourc.m'error: called from `__contour__' in file `C:\Program Files\Octave\share\octave\3.0.1\m\plot\__contour__.m'error: called from `surfc' in file `C:\Program Files\Octave\share\octave\3.0.1\m\plot\surfc.m'octave-3.0.1.exe:6>
 
When I do this, Octave creates the surface plot as if I had used surf instead of surfc. Then after a short pause, I get the above output.
 
Thanks,
 
...Karl
_________________________________________________________________
Use video conversation to talk face-to-face with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20080705/a134d868/attachment-0001.html 


More information about the Bug-octave mailing list