Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13370 > unrolled thread

Re: Any way to get gradient lines as well as contour lines?

Started byJames Stein <mathgroup@stein.org>
First post2013-02-04 01:20 +0000
Last post2013-02-04 01:20 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Any way to get gradient lines as well as contour lines? James Stein <mathgroup@stein.org> - 2013-02-04 01:20 +0000

#13370 — Re: Any way to get gradient lines as well as contour lines?

FromJames Stein <mathgroup@stein.org>
Date2013-02-04 01:20 +0000
SubjectRe: Any way to get gradient lines as well as contour lines?
Message-ID<ken2d6$7gb$1@smc.vnet.net>
Google for the two words   Mathematica relaxation    and you may find some
useful ideas, for example:
http://demonstrations.wolfram.com/RelaxationMethodForElectrostaticProblems/
HTH

On Sat, Feb 2, 2013 at 11:48 PM, Chris Young <cy56@comcast.net> wrote:

> I'd like to be able to plot "gradient lines", i.e., lines of steepest
> descent, on plots of functions of x and y, f(x, y). The contour lines
> can be obtained via MeshFunctions, as in
>
> Plot3D[Sin[x + y^2], {x, -3, 3}, {y, -2, 2}, MeshFunctions -> {#3 &},
> Mesh -> 5].
>
> I'd like all the lines at right angles to these contours.
>
> There must be some way to use the gradient function and then integrate
> to the get the gradient lines.
>
> Maybe this is difficult to do, in general. Also, maybe in general the
> "gradient lines" wouldn't be continuous.
>
> But I wonder if it could be done for some simple examples.
>
> Any suggestions appreciated.
>
> Chris Young
> cy56@comcast.net
>
>
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web