MathGroup Archive 2010

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

Search the Archive

Plotting piecewise in 2D


Hi

Please take a look at

DensityPlot[If[x == 0 && y == 0, 1000, 0], {x, -1, 1}, {y, -1, 1}]

This just gives me a uniform plot. Why does the peak at (0,0) not show
up?

Best,
Jimmy.


  • Prev by Date: Genetic Algorithm
  • Next by Date: Converting colors to height values
  • Previous by thread: Re: Genetic Algorithm
  • Next by thread: Re: Plotting piecewise in 2D