Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: How to plot divergence of gradient as contour plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124025] Re: How to plot divergence of gradient as contour plot
  • From: wood43 <wood43 at comcast.net>
  • Date: Fri, 6 Jan 2012 04:15:40 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <je402c$efu$1@smc.vnet.net>

On Jan 5, 4:03 am, Szymon Roziewski <szymon.roziew... at gmail.com>
wrote:

> I am concerning to plot something like that.
>
> ContourPlot[Divergence[Gradient[Sin[x + y]]], {x, -5, 5}, {y, -5, 5}]
>
> Plotting divergence of gradient scalar field.
> How can I manage to do that?

<< VectorAnalysis`

SetCoordinates[Cartesian[x, y, z]];

ContourPlot[Evaluate[Div[Grad[Sin[x + y]]]], {x, -5, 5}, {y, -5, 5}]

Div[Grad[Sin[x + y], Cartesian[x, y, z]]]



  • Prev by Date: Re: Why does the Front End freeze when using a TCPIP-mode connection with the kernel?
  • Next by Date: Default sort of vector is by "complexity" of expression!!?????
  • Previous by thread: Re: How to plot divergence of gradient as contour plot
  • Next by thread: Re: How to plot divergence of gradient as contour plot