MathGroup Archive 2008

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

Search the Archive

Re: Problem with cell brackets and Manipulate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88816] Re: [mg88773] Problem with cell brackets and Manipulate
  • From: Curtis Osterhoudt <cfo at lanl.gov>
  • Date: Sat, 17 May 2008 05:31:23 -0400 (EDT)
  • Organization: LANL
  • References: <200805160931.FAA01020@smc.vnet.net>
  • Reply-to: cfo at lanl.gov

At least on linux 32-bit, 6.0.1.0, this problem does not occur. Perhaps it's 
OS-dependent?

            Curtis

On Friday 16 May 2008 03:31:53 George Woodrow III wrote:
> 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



-- 
==========================================================
Curtis Osterhoudt
cfo at remove_this.lanl.and_this.gov
PGP Key ID: 0x4DCA2A10
Please avoid sending me Word or PowerPoint attachments
See http://www.gnu.org/philosophy/no-word-attachments.html
==========================================================


  • Prev by Date: Re: Re: Labeling points
  • Next by Date: Re: Re: Replace non-numeric values in a list
  • Previous by thread: Problem with cell brackets and Manipulate
  • Next by thread: Re: Re: Problem with cell brackets and Manipulate