Henry Rich wrote: > When you give plot complex numbers, it thinks they represent > x and y as real and imaginary parts.
...and J primitives which like 12&o. (angle) and 9&o. (real part) may give complex numbers with imaginary part zero. I suggest applying [EMAIL PROTECTED] (which gives the real part and does not result in a complex number) to any data you supply to plot. In the example given, plot [EMAIL PROTECTED] 12 o. a works fine. Personally I believe 12&o. and 9&o. should not give a complex result, but Roger does not. Perhaps the plot library ought to apply a better check than iscomplexdata=: 3!:0 e. 16 16384"_ It would save a lot of grief if plot converted complex data with zero imaginary part to real: everyone who has tried to plot Fourier transforms has been burned by this one. Best wishes, John ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
