Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Manipulate a complex expression

  • To: mathgroup at
  • Subject: [mg77813] Re: Manipulate a complex expression
  • From: Januk <ggroup at>
  • Date: Sun, 17 Jun 2007 06:09:30 -0400 (EDT)
  • References: <f505ip$qug$>

Hi Daniele,

On Jun 16, 4:04 am, Daniele <d.mal... at> wrote:
>  if I define VolumeFraction (eg. VolumeFraction=0.1) and plot
> Re[MeasuredCMF] vs. f, I have no problem.
> But I am unable to successfully do the following (I get a blank plot)
> Manipulate[
>  LogLinearPlot[
>   Evaluate[Re[MeasuredCMF]], {f, 1 10^5, 1 10^9}], {{VolumeFraction,
>    0.2}, 0.1, 0.5}]

You pretty much have it.  You just need to force Mathematica to use
the local variable from the Manipulate.  One easy way is to use
ReplaceAll to rename VolumeFraction to a temporary variable

   Re[MeasuredCMF] /. {VolumeFraction -> VolumeFraction2}], {f, 10^5,
 {{VolumeFraction2, 0.2}, 0.1, 0.5}]

Good luck!

  • Prev by Date: Mathematica 6 and normal distribution?
  • Next by Date: Re: a beginner's question
  • Previous by thread: Manipulate a complex expression
  • Next by thread: Re: Manipulate a complex expression