Re: How to plot divergence of gradient as contour plot
- To: mathgroup at smc.vnet.net
- Subject: [mg124030] Re: How to plot divergence of gradient as contour plot
- From: Gabriel Landi <gtlandi at gmail.com>
- Date: Fri, 6 Jan 2012 04:17:24 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <201201051100.GAA14785@smc.vnet.net>
The best I could come up was
Needs["VectorAnalysis`"]
ContourPlot[
Evaluate[Div@Grad@Sin[Xx + Yy] /. {Xx -> x, Yy -> y}], {x, -5, 5}, {y, -5,
5}]
Gabriel
On Jan 5, 2012, at 9:00 AM, Szymon Roziewski wrote:
> Hello there,
>
> 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?
>
> Best regards,
> Szymon Roziewski
- References:
- How to plot divergence of gradient as contour plot
- From: Szymon Roziewski <szymon.roziewski@gmail.com>
- How to plot divergence of gradient as contour plot