Problem with meshc, axis, and view

John W. Eaton jwe at bevo.che.wisc.edu
Tue Jan 8 14:07:10 CST 2008


On 29-Dec-2007, Matthias Brennwald wrote:

| I have Octave 3.0.0 together with gnuplot from the octave-forge  
| repository running on a PowerBook G4 with Mac OS X 10.4. Running the  
| below code gives trouble with gnuplot (the error is: "line 165743:  
| error in edge3d_intersect", where the line number varies). I attached  
| the X-Y-Z-data in the file csd_data (it's an oct file). The error  
| goes away in either of the following cases:
| 
| - mesh is used instead of meshc
| - the command "axis (r)" is omitted
| - the command "view(20,25)" is omitted
| 
| Any thoughs?
| 
| 
| Here's the code to reproduce the problem:
| 
| --------------------------
| clear all
| clf
| load csd_data
| meshc (X,Y,Z);
| r = axis;
| r(1) = min (min (X));
| r(2) = max (max (X));
| axis (r);
| view(20,25);
| --------------------------

What is csd_data?  If it is a large file, please don't post it to the
list.  If it is possible to duplicate the problem with arbitrary data,
give us a simple function to generate data that can be used to
demonstrate the problem.  If the problem is dependent on specific data
and the file is large, please post it to a web site if possible and
give us a link.

jwe


More information about the Bug-octave mailing list