MathGroup Archive 2012

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

Search the Archive

Re: How to plot divergence of gradient as contour plot


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