#### bug in densityplot in MapleV.5 and patch (6.10.98)

##### Dave Damiano

I noticed in the Unix version R5 that density plot interchanges the roles of the independent variables. For example,

yields a density plot of

y^2-x

and

yields the correct density plot but with the axes labeled incorrectly.

Is there a patch for this error?

It is corrected with Maple 6.01. (U. Klein)

##### Eric Johnstone (10.10.98)

Just got MAPLEVR5 (win95). I thought I would run an example from A. Heck’s book (Introduction to MAPLE, Springer Verlag, 2ed page 428):

Release 4 does the plot correctly (like in Heck’s book). Release 5 confuses the axes!!!!!!

This problem is not seen for contourplot or gradplot however. The problem appears to be endemic to densityplot

Bummer.

It is as if the arguments of the function are permuted or something like that within densityplot. Anybody else notice this problem? Is there a work-around?

The quality of the output from densityplot is better though, if one is prepared to ignore this minor detail.

Also, it appears that R5 renders the plot about 2-3 times faster in 1/2 memory than R4.

##### Robert Israel (24.10.98)

As several people have noticed, densityplot in Release 5 has a bug which causes $$x$$ and $$y$$ to be ”interchanged”. Actually the result of

is what should be obtained from

So a work-around is to use

The bug seems to be related to the use of hfarrays in densityplot.