[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33849] Incorrect plot result when mixing comp
From: |
Jordi Gutiérrez Hermoso |
Subject: |
[Octave-bug-tracker] [bug #33849] Incorrect plot result when mixing complex values and real integers |
Date: |
Mon, 25 Jul 2011 13:23:31 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110109 Firefly/3.6.13 |
Follow-up Comment #2, bug #33849 (project octave):
By the way, calling plot this way seems to work by accident on Octave (plot's
docstring doesn't mention this way of calling it) and it fails on Matlab.
However, the equivalent calls
hold on
plot(exp(j*2*pi*[0:4]/4),'r-*')
plot(1:2,'b-*')
hold off
do work on Matlab and produce the same results as in Octave. While I agree the
results are surprising, perhaps there's a good reason why they are so.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33849>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/