Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Plotting piecewise in 2D

  • To: mathgroup at smc.vnet.net
  • Subject: [mg109723] Plotting piecewise in 2D
  • From: Jim Lambaugh <lambaugh at gmail.com>
  • Date: Fri, 14 May 2010 05:32:54 -0400 (EDT)

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