Issue with hggroup and zlim

Ben Abbott bpabbott at mac.com
Mon Sep 1 07:37:32 CDT 2008


On Sep 1, 2008, at 5:45 AM, David Bateman wrote:

> Ben Abbott wrote:
>> On Friday, August 29, 2008, at 03:47PM, "John W. Eaton" <jwe at bevo.che.wisc.edu 
>> > wrote:
>>
>>> On 29-Aug-2008, David Bateman wrote:
>>>
>>> | Here is the promised patch
>>>
>>> Thanks.
>>>
>>> This eliminates the crash and now I see the same axis limit problem
>>> that you originally commented on.
>>>
>>> I see that Matlab does not handle the case of
>>>
>>> plot3 (x, complex_vector);
>>>
>>> I thought this was supposed to be equivalent to
>>>
>>> plot3 (x, real (complex_vector), imag (complex_vector));
>>>
>>
>> In Matlab 2008a I get an error for "plot3(x, complex_vector)". I  
>> recall this being discussed on a prior thread ... link below.
>>
>> http://www.nabble.com/Re%3A-Plotting-problem-again-p17637417.html
>>
>> It was a "short" short discussion, between me, myself and I ;-)
>> Ben
>>
>>
> yes this is a feature of Octave that matlab didn't implement..  
> Should we disable the Octave feature?
>
> D.

I think that depends upon compatibility in other areas.

Trusting my memory, plot3 (<real_matrix>, <real_matrix>,  
<real_matrix>) produces a series of 3D lines in Matlab, but produces a  
single line in Octave ... the Octave result will zig-zag (see the code  
below)

	 [x, y] = meshgrid (0:10, 0:10);
	 z = x.*y;
	 figure(1)
	 clf
	 plot3 (x, y, z)

Same for plot3 (<real_matrix>, <complex_matrix)

	 y = y + 1i*z;
	 figure(2)
	 clf
	 plot3 (x, y)

This issue is what I think needs attention, and I have a faint  
recollection that maintaining the complex_vector/matrix feature was  
problematic.

Ben


More information about the Bug-octave mailing list