Re: Re: Problem with cell brackets and Manipulate
- To: mathgroup at smc.vnet.net
- Subject: [mg88887] Re: [mg88816] Re: [mg88773] Problem with cell brackets and Manipulate
- From: George Woodrow III <georgevw3 at mac.com>
- Date: Tue, 20 May 2008 02:28:18 -0400 (EDT)
- References: <200805160931.FAA01020@smc.vnet.net> <200805170931.FAA29869@smc.vnet.net>
I found out what the problem is.
I had a game controller attached to the computer. With the controller
attached, the problem occurs -- presumedly selecting the cell bracket
triggers something in the way the program uses the controller. When it
is not attached, there is no problem.
george
On May 17, 2008, at 5:31 AM, Curtis Osterhoudt wrote:
> 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
> ==========================================================
>
- References:
- Problem with cell brackets and Manipulate
- From: George Woodrow III <georgevw3@mac.com>
- Re: Problem with cell brackets and Manipulate
- From: Curtis Osterhoudt <cfo@lanl.gov>
- Problem with cell brackets and Manipulate