Question: Maple densityplot: "scaletorange" option doesn't work

Below is the code in Maple 2022, and then I describe the problem.
restart;
with(plots);
a := 0.5;
j := BesselJ(0, sqrt(2*I)*sqrt(x^2 + y^2)*a)/BesselJ(0, sqrt(2*I)*a);
A := sqrt(Re(j)^2 + Im(j)^2);
densityplot(A, x = -1 .. 1, y = -sqrt(-x^2 + 1) .. sqrt(-x^2 + 1), grid = [68, 68], style = patchnogrid, scaletorange = 0 .. 1);

 

Thus, I have a real function of two variables: $A(x, y)$. At zero it is minimal (value 0.996). At the boundary of the unit circle it is maximal with a value equal to 1. In theory, scaletorange = 0 .. 1 should give a picture with almost perfectly white everywhere in the circle since the function values ​​are very close to 1. However, both with scaletorange and without it, the command produces a picture with a significantly dark circle in the center...

Please Wait...