MathGroup Archive 2008

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

Search the Archive

Re: Re: Problem with cell brackets and Manipulate


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
> ==========================================================
>



  • Prev by Date: Re: Re: Possible Bug Report: CoefficientList
  • Next by Date: Re: Re: Problem with cell brackets and Manipulate
  • Previous by thread: Re: Problem with cell brackets and Manipulate
  • Next by thread: Re: Re: Problem with cell brackets and Manipulate