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]]]