Problem with meshc, axis, and view
Matthias Brennwald
matthias at brennwald.org
Tue Jan 8 23:52:04 CST 2008
On 08.01.2008, at 21:07, John W. Eaton wrote:
> 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
John
the data file was attached to my initial post on the list. I can't
reproduce the problem with arbitrary data.
Matthias
-------
Matthias Brennwald
Lägernstrasse 6
CH 8037 Zürich
+41 (0)44 364 17 03
matthias at brennwald.org
More information about the Bug-octave
mailing list