Possible Problem with the Unit_Step Function



On 12/2/11, James Nesta <bhakta.jim at gmail.com> wrote:

> I have the current version of Maxima with the WxMaxima GUI on Mac OS 10.7
> and have a problem with the unit_step function. When I invoke the function
> for plotting I get a vertical line, instead of a horizontal line of unit amplitude.

I'm guessing that the problem is that the horizontal segments coincide
with the edges of the plot window, so they aren't visible.
How about this:

plot2d (unit_step (x), [x, -1, 1], [y, -1, 2]);

which sets the plot window so that it's more extensive than the
plotted function.

> Numerical evaluation of the argument of the function doesn't give
> the expected result also.

You'll have to be more specific about this.

best

Robert Dodier