2 Graphs - 2 Intervals - 1 Window



On Wed, 2006-12-13 at 09:06 +0100, Claudius Euteneuer wrote:
> Jaime E. Villate schrieb:
>  > (%i1) Cos(x) := if x < -3 or x > 2 then %i else cos(x)$
>  > (%i2) plot2d([sin(x), Cos], [x, -10, 10])$
> 
> I tested 0 instead of %i. => Same result.
> Maxima plots %i like 0. 
> Do you see a possibility to not get the graph go down to x-axis? 

You must update Maxima to version 5.10.0 or later.
Up to version 5.9.3, plot2d used to plot %i as 0 (real part);
starting with version 5.10.0, nothing will be plotted at the
points where the function has a complex value.

Jaime