MathGroup Archive 2013

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

Search the Archive

Re: controllers in manipulate


Something like the following?

  Manipulate[Plot[a Sin[n t], {t, 0, 2 Pi}],
      {{a, 1}, 0.1, 2.0}, {{n, 1}, 1, 5, 1},
      ControlType -> {Slider, RadioButton}]

On Oct 20, 2013, at 11:38 PM, Francisco Gutierrez <fgutiers2002 at yahoo.com> wrote:

> I have a Manipulate[f, ...], where f is a function of 2 variables, x and y
>
> x can get any real value, but y can only be an integer. How can I put the controls so that the control of x is a slider and the control of
> y is a radio button?

---
Murray Eisenberg                                    
murray at math.umass.edu
Mathematics & Statistics Dept.      
Lederle Graduate Research Tower           
University of Massachusetts 
710 North Pleasant Street  
Amherst, MA 01003-9305








  • Prev by Date: Re: Exercise of Programming with Mathematica
  • Next by Date: Re: controllers in manipulate
  • Previous by thread: controllers in manipulate
  • Next by thread: Re: controllers in manipulate