       Re: How to draw a trajectory in DensityPlot&#65311;

• To: mathgroup at smc.vnet.net
• Subject: [mg53244] Re: How to draw a trajectory in DensityPlot&#65311;
• From: "Borut Levart" <bole79 at email.si>
• Date: Mon, 3 Jan 2005 04:29:21 -0500 (EST)
• References: <cr8e1c\$r5k\$1@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```Hi Idyllic,

Use Epilog option under the DensityPlot command.

I would first build a curve graphic primitive:
curve = Line[Table[{Cos[t], Sin[t]}, {t, 0, 2Pi, Pi/10}]];

And then I would draw the density plot with overlaid curve (note the
GrayLevel - "make it white" graphic directive):
DensityPlot[Exp[-(x^2 + y^2)], {x, -2, 2}, {y, -2, 2},
PlotRange -> All,
Epilog -> {GrayLevel, curve}]

Or you could write everything above under a single procedure, function.

Bye!
Borut, Slovenia

"idyllic" <idyllic.math at gmail.com> wrote in message
news:cr8e1c\$r5k\$1 at smc.vnet.net...
> Dear all,
>   Is there a good method to draw a given trajectory in a densityplot?
>   e.g. I wanna draw a light circle orbit in the form of a DensityPlot.
>   Any ideas will be appreciated, thanks in advance.
>                    Sincerely             Idyllic
>

```

• Prev by Date: Re: Play restarting to early
• Next by Date: Re: Simple Fourier help
• Previous by thread: Re: How to draw a trajectory in DensityPlot&#65311;
• Next by thread: Re: Re: How to draw a trajectory in DensityPlot&#65311;