MathGroup Archive 2008

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

Search the Archive

Re: In V7, is it possible to parallelize DensityPlot?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg94378] Re: In V7, is it possible to parallelize DensityPlot?
  • From: Stoney Ballard <stoneyb at gmail.com>
  • Date: Thu, 11 Dec 2008 03:47:37 -0500 (EST)
  • References: <gglsti$8gk$1@smc.vnet.net> <ggog30$s7s$1@smc.vnet.net>

On Dec 10, 5:12 am, Phil I <p.ing... at gmail.com> wrote:
> Stoney,
>
> Jens is right about the adaptive mesh. The only way around this is to
> evaluate a list of values before hand (basically define your own mesh)
> and this can be "parallelized" and then the result can be put in a
> ListDensityPlot:
> dplist = Parallelize[
>    Table[{x, y, Sin[x] Cos[2 y]}, {x, 0, 2 \[Pi], \[Pi]/16}, {y, 0,
>      2 \[Pi], \[Pi]/16}]];
> ListDensityPlot[Flatten[dplist, 1]]
>
> Hope this helps,
> Phil

Indeed, that is what I ended up doing, using ParallelTable, and got a
huge speedup on my 8-core Mac Pro.


  • Prev by Date: Re: Setting "attributes" for variables?
  • Next by Date: Re: VectorStyle for centered vector tail?
  • Previous by thread: Re: In V7, is it possible to parallelize DensityPlot?
  • Next by thread: Re: In V7, is it possible to parallelize DensityPlot?