Re: Re: How to draw a trajectory in DensityPlot?
- To: mathgroup at smc.vnet.net
- Subject: [mg53303] Re: [mg53268] Re: How to draw a trajectory in DensityPlot?
- From: "David Park" <djmp at earthlink.net>
- Date: Wed, 5 Jan 2005 01:21:20 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
You could also use the DisplayTogether command. Or you could try the DrawGraphics package at my web site, which makes it easy to combine various types of graphics in one drawing statement. Needs["DrawGraphics`DrawingMaster`"] Draw2D[ {DensityDraw[Sin[x]Cos[y], {x, -2, 2}, {y, -2, 2}], Red, ParametricDraw[{Cos[t], Sin[t]}, {t, 0, 2Pi}]}, AspectRatio -> Automatic, Frame -> True, PlotLabel -> "Parametric Curve on a Density Plot", Background -> Linen, ImageSize -> 450]; David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: timreh [mailto:a.9021031 at nctu.edu.tw] To: mathgroup at smc.vnet.net Hi, I found a method: a=InputForm[ParametricPlot[{Cos[t],Sin[t]},{t,0,2Pi}]]; DensityPlot[Sin[x]Cos[y], {x, -?, ?}, {y, -?, ?}, Epilog ->{Hue[0], a[[1,1]]}]; and I forgot to thank you in last post. :-) "yehuda ben-shimol" <benshimo at bgu.ac.il> ¦b¶l¥ó news:crb44l$al3$1 at smc.vnet.net ¤¤¼¶¼g... > Hi, > Epilog or Prolog options will do > check the following code > DensityPlot[Sin[x]Cos[y], {x, -?, ?}, {y, -?, ?}, Epilog -> {Hue[0], > Circle[{0, 0}, 1]}] > yehuda > > idyllic wrote: > > >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 > > > > > > >