MathGroup Archive 2008

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

Search the Archive

Problem with cell brackets and Manipulate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88773] Problem with cell brackets and Manipulate
  • From: George Woodrow III <georgevw3 at mac.com>
  • Date: Fri, 16 May 2008 05:31:53 -0400 (EDT)

Here is some code:


conGrade[bias_, sd_, sm_, tea_, maxBias_] :=
      Module[{grade},
        grade = 103. - 33.*(Sqrt[(bias/maxBias)^2 + (sm*sd)^2]/tea);
         If[grade > 100., grade = 100.]; If[grade < 0., grade = 0.];  
grade];

Manipulate[
  conGrade[bias, sd, sigMult, TEa, maxBias], {{bias, 0}, -10, 10,
   Appearance -> "Labeled"}, {{sd, 1.0}, 0, 10,
   Appearance -> "Labeled"}, {{sigMult, 2.5}, 1.65, 3.0,
   Appearance -> "Labeled"}, {{TEa, 8.0}, 5, 10,
   Appearance -> "Labeled"}, {{maxBias, 0.85}, 0.75, 1.0,
   Appearance -> "Labeled"}]


The code works fine. However, when I select the bracket to the right  
of the manipulate to collapse the code, most of the sliders move to  
the end of their range. As long as the bracket is highlighted, the  
sliders will move to the pegged positions.

As soon as the highlight is removed -- collapsing the code part does  
not matter -- the sliders work properly.

Using Mathematica 6.0.2.1, OS X 10.5 2

Any help would be appreciated.

george woodrow


  • Prev by Date: Multiple threads using Mathlink
  • Next by Date: Re: export mathematica table to .mat (MATLAB) format.Please help!!!
  • Previous by thread: Re: Re: Multiple threads using Mathlink
  • Next by thread: Re: Problem with cell brackets and Manipulate