MathGroup Archive 2008

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

Search the Archive

Re: Re: Problem with cell brackets and Manipulate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88884] Re: [mg88816] Re: [mg88773] Problem with cell brackets and Manipulate
  • From: Curtis Osterhoudt <cfo at lanl.gov>
  • Date: Tue, 20 May 2008 02:27:44 -0400 (EDT)
  • Organization: LANL
  • References: <200805160931.FAA01020@smc.vnet.net> <200805170931.FAA29869@smc.vnet.net> <77F83544-30E2-4390-A1F2-C93C1D6E803D@mac.com>
  • Reply-to: cfo at lanl.gov

Weird! Glad you found an underlying cause, though, and a workaround. 

           Cheers, 
                 Curtis

On Monday 19 May 2008 07:58:14 George Woodrow III wrote:
> 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
> > ==========================================================



-- 
==========================================================
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: Problem with cell brackets and Manipulate
  • Next by Date: Re: Range of Use of Mathematica
  • Previous by thread: Re: Re: Problem with cell brackets and Manipulate
  • Next by thread: remote Kernel