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: [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




  • Prev by Date: Re: Rule replacement doesn't work after NDSolve?
  • Next by Date: SortBy for multiple key sorts
  • Previous by thread: How to plot divergence of gradient as contour plot
  • Next by thread: Re: How to plot divergence of gradient as contour plot