Hi guys(adsbygoogle = window.adsbygoogle || []).push({});

Take a look at

This just gives me a uniform plot. Why does the peak at the origin not show up?Code (Text):DensityPlot[If[x == 0 && y == 0, 1, 0], {x, -1, 1}, {y, -1, 1}]

Sincerely,

Niles.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Mathematica: Plotting piecewise functions

Loading...

Similar Threads - Mathematica Plotting piecewise | Date |
---|---|

Mathematica Cannot Plot This Function in Mathematica | Feb 26, 2018 |

Is the integral for current correct? | Jul 7, 2017 |

Mathematica Plot Real Portion (Contour Plot) | Jun 21, 2017 |

Mathematica Add a rectangle to a plot to indicate range | Jun 15, 2017 |

Mathematica not plotting | Feb 10, 2016 |

**Physics Forums - The Fusion of Science and Community**