MathGroup Archive 1999

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

Search the Archive

Re: Plotting multiple outputs from cpu intensive functi

  • To: mathgroup at smc.vnet.net
  • Subject: [mg16857] Re: [mg16745] Plotting multiple outputs from cpu intensive functi
  • From: jns1 <jns1 at madmax.hrl.HAC.COM>
  • Date: Thu, 1 Apr 1999 21:35:26 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

The best would be if the adaptive choices of x for f (with g evaluated
and stored also) could be stored as starting points for the adaptive
values for g. Then, fewer extra evaluations of g (and unavoidably, f)
would be needed. This certainly does not seem difficult to program
outside of the Plot function and then use ListPlot on the result. It
would be even easier if the algorithm that Mathematica uses inside Plot
to choose points was available. Then it could be modified with your own
MaxBend, PlotDivision, PlotPoints arguments for this multiple function
case.

See, this is an argument for Open Source Mathematica!

Joel


Allan Hayes wrote:
> 
> Ted,
> One problem is that Plot[{f,g}, {x,a,b}] makes adaptive choices of x for f
> and then independently for g. For this and maybe for other reasons the
> remembered values may not be the ones needed. One way out might be to make
> interpolating functions from the remembered values (a linear interpolation
> would likely be sufficient). Of course we might then have to deal with
> evaluating outside the data range.
> 
> Allan


  • Prev by Date: Problems with ContourPlot
  • Next by Date: ListPlot3D
  • Previous by thread: Re: Problems with ContourPlot
  • Next by thread: Re: Plotting multiple outputs from cpu intensive functi