MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

Mathematica 3.0.0 on WinNT 4: Bug in Show[]

Please try the following code that should overlap a CountourPlot
together with a
DensityPlot using Mathematica 3.0.0 on WinNT 4.0. Any idea how to fix

If you are replacing PlotPoints->300 with PlotPoints->100 and
PlotPoints->200 with
PlotPoints->50, respectively, it should work, but then the quality of
the output is far
from publication quality.

I do not think that the problem is related to RAM size, nor do I believe
that a hardware
related problem (e.g. graphics board, CPU, ...) could cause this strange


Func[x_, y_] = Sin[x^2*y - 4  x*y^2] + x*y;
Cont1 = DensityPlot[
        Func[x, y], {x, -nres, nres}, {y, -nres, nres},
        PlotPoints -> 300, Mesh -> False, ColorFunction -> Hue,
        DisplayFunction -> Identity];
Cont2 = ContourPlot[Func[x, y], {x, -nres, nres}, {y, -nres, nres},
        PlotPoints -> 200, Contours -> {0}, ContourShading -> False,
        ContourStyle -> {RGBColor[0, 0, 0]}, DisplayFunction ->
Show[{Cont1,Cont2}, DisplayFunction -> $DisplayFunction];

  • Prev by Date: Re: Delay Differential Equations
  • Next by Date: change of variables in PDE?
  • Previous by thread: Re: Mathematica Graphics
  • Next by thread: change of variables in PDE?